Class: Idl::BuiltinTypeNameSyntaxNode Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#to_astObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4168
4169
4170
4171
4172
4173
4174
# File 'lib/idl/ast.rb', line 4168

def to_ast
  if !respond_to?(:i)
    BuiltinTypeNameAst.new(input, interval, elements[0].text_value, nil)
  else
    BuiltinTypeNameAst.new(input, interval, elements[0].text_value, i.to_ast)
  end
end