abstract class Bindgen::Template::Base

Overview

Base class of the templates.

Direct Known Subclasses

Defined in:

bindgen/template/base.cr

Instance Method Summary

Instance Method Detail

def followed_by(other : Base) : Base #

Combines two templates into one. The other template is run after the current template.


[View source]
abstract def no_op? : Bool #

Is this a no-operation template?


[View source]
abstract def template(code : String) : String #

Performs a template substitution.


[View source]