Class: Idl::CsrReadExpressionSyntaxNode

Inherits:
Treetop::Runtime::SyntaxNode show all
Defined in:
lib/idl/ast.rb

Instance Method Summary collapse

Instance Method Details

#to_astObject



5810
5811
5812
5813
5814
5815
5816
# File 'lib/idl/ast.rb', line 5810

def to_ast
  if idx.respond_to?(:to_ast)
    CsrReadExpressionAst.new(input, interval, idx.to_ast)
  else
    CsrReadExpressionAst.new(input, interval, idx.text_value)
  end
end