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