Class: Loxxy::Ast::LoxNoopExpr

Inherits:
LoxNode
  • Object
show all
Defined in:
lib/loxxy/ast/lox_noop_expr.rb

Instance Attribute Summary

Attributes inherited from LoxNode

#position

Instance Method Summary collapse

Methods inherited from LoxNode

#done!, #initialize

Methods included from ASTVisitee

#define_accept, #snake_case

Constructor Details

This class inherits a constructor from Loxxy::Ast::LoxNode

Instance Method Details

#accept(_visitor) ⇒ Object

Abstract method. Part of the 'visitee' role in Visitor design pattern.

Parameters:

  • _visitor (LoxxyTreeVisitor)

    the visitor



11
12
13
# File 'lib/loxxy/ast/lox_noop_expr.rb', line 11

def accept(_visitor)
  # Do nothing...
end