Class: Idl::IncludeStatementAst

Inherits:
AstNode
  • Object
show all
Defined in:
lib/idl/ast.rb

Instance Method Summary collapse

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

#filenameString

Returns filename to include.

Returns:

  • (String)

    filename to include



534
# File 'lib/idl/ast.rb', line 534

def filename = @children[0].text_value[1..-2]