Sha256: bc14dd2b285d1475da5b1099d509216a4a6f13aca1f9117d824ee0c57626578e
Contents?: true
Size: 627 Bytes
Versions: 4
Compression:
Stored size: 627 Bytes
Contents
# frozen_string_literal: true require_relative 'lox_compound_expr' module Loxxy module Ast class LoxBlockStmt < LoxCompoundExpr # @param aPosition [Rley::Lexical::Position] Position of the entry in the input stream. # @param operand [Loxxy::Ast::LoxSeqDecl] def initialize(aPosition, decls) super(aPosition, [decls]) end # Part of the 'visitee' role in Visitor design pattern. # @param visitor [Ast::ASTVisitor] the visitor def accept(visitor) visitor.visit_block_stmt(self) end alias operands subnodes end # class end # module end # module
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
loxxy-0.0.28 | lib/loxxy/ast/lox_block_stmt.rb |
loxxy-0.0.27 | lib/loxxy/ast/lox_block_stmt.rb |
loxxy-0.0.26 | lib/loxxy/ast/lox_block_stmt.rb |
loxxy-0.0.25 | lib/loxxy/ast/lox_block_stmt.rb |