Class: Loxxy::Ast::LoxPrintStmt
- Inherits:
-
LoxCompoundExpr
- Object
- LoxNode
- LoxCompoundExpr
- Loxxy::Ast::LoxPrintStmt
- Defined in:
- lib/loxxy/ast/lox_print_stmt.rb
Instance Attribute Summary
Attributes inherited from LoxCompoundExpr
Attributes inherited from LoxNode
Instance Method Summary collapse
-
#initialize(aPosition, anExpression) ⇒ LoxPrintStmt
constructor
A new instance of LoxPrintStmt.
Methods inherited from LoxCompoundExpr
Methods inherited from LoxNode
Methods included from ASTVisitee
Constructor Details
#initialize(aPosition, anExpression) ⇒ LoxPrintStmt
Returns a new instance of LoxPrintStmt.
10 11 12 |
# File 'lib/loxxy/ast/lox_print_stmt.rb', line 10 def initialize(aPosition, anExpression) super(aPosition, [anExpression]) end |