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

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_matchObject



6
7
8
# File 'lib/gisele/language/ast/node.rb', line 6

def citrus_match
  tracking_markers[:citrus_match]
end

#labelObject

Returns a label for this AST node



11
12
13
# File 'lib/gisele/language/ast/node.rb', line 11

def label
  ""
end