Class: Loxxy::Ast::LoxSeqDecl

Inherits:
LoxCompoundExpr show all
Defined in:
lib/loxxy/ast/lox_seq_decl.rb

Instance Attribute Summary

Attributes inherited from LoxCompoundExpr

#subnodes

Attributes inherited from LoxNode

#position

Instance Method Summary collapse

Methods inherited from LoxCompoundExpr

#initialize

Methods inherited from LoxNode

#done!, #initialize

Constructor Details

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

Instance Method Details

#accept(visitor) ⇒ Object

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

Parameters:



10
11
12
# File 'lib/loxxy/ast/lox_seq_decl.rb', line 10

def accept(visitor)
  visitor.visit_seq_decl(self)
end