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.



4145
4146
4147
4148
4149
4150
4151
# File 'lib/idl/ast.rb', line 4145

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