class Bindgen::Template::Basic
- Bindgen::Template::Basic
- Bindgen::Template::Base
- Reference
- Object
Overview
The default template. Uses Util.template
to substitute code into the
given pattern.
If simple is given, the template will only use a subset of the features;
%
performs substitution, whereas the escape sequence %%
outputs a
literal percent sign.
Defined in:
bindgen/template/basic.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#no_op? : Bool
Is this a no-operation template?
- #template(code) : String
Instance methods inherited from class Bindgen::Template::Base
followed_by(other : Base) : Base
followed_by,
no_op? : Bool
no_op?,
template(code : String) : String
template
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def no_op? : Bool
#
Description copied from class Bindgen::Template::Base
Is this a no-operation template?