Class: Idl::DollarVariableSyntaxNode

Inherits:
SyntaxNode show all
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_astObject



5872
5873
5874
# File 'lib/idlc/ast.rb', line 5872

def to_ast
  BuiltinVariableAst.new(input, interval, "$#{send(:name).text_value}")
end