Class: Idl::IncludeStatementAst
Instance Method Summary collapse
-
#filename ⇒ String
Filename to include.
-
#initialize(input, interval, filename) ⇒ IncludeStatementAst
constructor
A new instance of IncludeStatementAst.
Constructor Details
#initialize(input, interval, filename) ⇒ IncludeStatementAst
Returns a new instance of IncludeStatementAst.
536 537 538 |
# File 'lib/idl/ast.rb', line 536 def initialize(input, interval, filename) super(input, interval, [filename]) end |
Instance Method Details
#filename ⇒ String
Returns filename to include.
534 |
# File 'lib/idl/ast.rb', line 534 def filename = @children[0].text_value[1..-2] |