Class: Idl::ConditionalReturnStatementSyntaxNode

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



7025
7026
7027
# File 'lib/idlc/ast.rb', line 7025

def to_ast
  ConditionalReturnStatementAst.new(input, interval, send(:return_expression).to_ast, send(:expression).to_ast)
end