Module: Gisele::Language::AST::Node
- Included in:
- BoolAnd, BoolExpr, BoolNot, BoolOr, CaseSt, ElseClause, ElsifClause, IfSt, TaskCallSt, TaskDef, VarRef, WhenClause, WhileSt
- Defined in:
- lib/gisele/language/ast/node.rb
Instance Method Summary collapse
-
#===(sexp) ⇒ Object
Checks validity over the definition.
- #citrus_match ⇒ Object
-
#label ⇒ Object
Returns a label for this AST node.
Instance Method Details
#===(sexp) ⇒ Object
Checks validity over the definition
16 17 18 |
# File 'lib/gisele/language/ast/node.rb', line 16 def ===(sexp) Language[rule_name] === sexp end |
#citrus_match ⇒ Object
6 7 8 |
# File 'lib/gisele/language/ast/node.rb', line 6 def citrus_match tracking_markers[:citrus_match] end |
#label ⇒ Object
Returns a label for this AST node
11 12 13 |
# File 'lib/gisele/language/ast/node.rb', line 11 def label "" end |