Sha256: 823a0476f0efa6b92148aca69d4d9247f9730becac21030c8d951290824e0d41
Contents?: true
Size: 682 Bytes
Versions: 22
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true require_relative 'lox_compound_expr' module Loxxy module Ast class LoxCallExpr < LoxCompoundExpr attr_accessor :callee attr_reader :arguments # @param aPosition [Rley::Lexical::Position] Position of the entry in the input stream. # @param argList [Array<Loxxy::Ast::LoxNode>] def initialize(aPosition, argList) super(aPosition, []) @arguments = argList end # Part of the 'visitee' role in Visitor design pattern. # @param visitor [Ast::ASTVisitor] the visitor def accept(visitor) visitor.visit_call_expr(self) end end # class end # module end # module
Version data entries
22 entries across 22 versions & 1 rubygems