Class: Idl::IncludeStatementSyntaxNode

Inherits:
SyntaxNode show all
Defined in:
lib/idlc/ast.rb

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



947
948
949
950
# File 'lib/idlc/ast.rb', line 947

def to_ast
  s = T.let(send(:string), StringLiteralSyntaxNode)
  IncludeStatementAst.new(input, interval, s.to_ast)
end