Method: Jaina::Parser::AST#initialize
- Defined in:
- lib/jaina/parser/ast.rb
#initialize(program, ast_tree) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
47 48 49 50 |
# File 'lib/jaina/parser/ast.rb', line 47 def initialize(program, ast_tree) @program = program.dup.tap(&:freeze) @ast_tree = ast_tree end |