Class: Loxxy::Ast::LoxThisExpr
- Defined in:
- lib/loxxy/ast/lox_this_expr.rb
Overview
A node in a parse tree that represents the occurrence of 'this' keyword.
Instance Attribute Summary
Attributes inherited from LoxNode
Instance Method Summary collapse
-
#name ⇒ String
Duck-typing: behaves like a LoxVarExpr.
Methods inherited from LoxNode
Methods included from ASTVisitee
Constructor Details
This class inherits a constructor from Loxxy::Ast::LoxNode
Instance Method Details
#name ⇒ String
Duck-typing: behaves like a LoxVarExpr
11 12 13 |
# File 'lib/loxxy/ast/lox_this_expr.rb', line 11 def name 'this' end |