Class: Idl::VariableDeclarationWithInitializationSyntaxNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Idl::VariableDeclarationWithInitializationSyntaxNode
- Defined in:
- lib/idl/ast.rb
Instance Method Summary collapse
Instance Method Details
#to_ast ⇒ Object
2335 2336 2337 2338 2339 2340 2341 |
# File 'lib/idl/ast.rb', line 2335 def to_ast ary_size_ast = ary_size.empty? ? nil : ary_size.expression.to_ast VariableDeclarationWithInitializationAst.new( input, interval, type_name.to_ast, id.to_ast, ary_size_ast, rval.to_ast ) end |