Class: Idl::DollarVariableSyntaxNode
- Inherits:
-
SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SyntaxNode
- Idl::DollarVariableSyntaxNode
- Defined in:
- lib/idlc/ast.rb
Overview
Generic syntax node for $name (no parens) — creates a BuiltinVariableAst.
Instance Method Summary collapse
Methods inherited from Treetop::Runtime::SyntaxNode
#set_input_file, #set_input_file_unless_already_set, #space?
Instance Method Details
#to_ast ⇒ Object
5872 5873 5874 |
# File 'lib/idlc/ast.rb', line 5872 def to_ast BuiltinVariableAst.new(input, interval, "$#{send(:name).text_value}") end |