Class: Falluto::FaultAssignmentNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Falluto::FaultAssignmentNode
- Defined in:
- lib/falluto/grammar/nodes.rb
Instance Method Summary collapse
Instance Method Details
#faults ⇒ Object
70 71 72 |
# File 'lib/falluto/grammar/nodes.rb', line 70 def faults [list.first.stripped] + list.rest.elements.map{|e| e.fault.stripped} end |
#value ⇒ Object
66 67 68 |
# File 'lib/falluto/grammar/nodes.rb', line 66 def value basic_expr end |
#variable ⇒ Object
62 63 64 |
# File 'lib/falluto/grammar/nodes.rb', line 62 def variable var_id.stripped end |