Sha256: 88ac87f1953bf0956a4ce0ad83c80f7b11e905c19ee83856d6ffc1a762ebec96
Contents?: true
Size: 580 Bytes
Versions: 17
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true require_relative 'lox_node' module Loxxy module Ast class LoxLiteralExpr < LoxNode # @return [Loxxy::Datatype::BuiltinDatatype] attr_reader :literal # @param aPosition [Rley::Lexical::Position] Position of the entry in the input stream. # @param aLiteral [Loxxy::Datatype::BuiltinDatatype] def initialize(aPosition, aLiteral) super(aPosition) @literal = aLiteral end define_accept # Add `accept` method as found in Visitor design pattern end # class end # module end # module
Version data entries
17 entries across 17 versions & 1 rubygems