Sha256: f0fb60e96c3c1cb80b08f331a05ace63da8e09eae35062556a5489740e82ebdd
Contents?: true
Size: 755 Bytes
Versions: 16
Compression:
Stored size: 755 Bytes
Contents
# frozen_string_literal: true require_relative 'loxxy/version' require_relative 'loxxy/interpreter' require_relative 'loxxy/front_end/raw_parser' # Namespace for all classes and constants of __loxxy__ gem. module Loxxy # Shorthand method. Returns the sole object that represents # a Lox false literal. # @return [Loxxy::Datatype::False] def self.lox_false Datatype::False.instance end # Shorthand method. Returns the sole object that represents # a Lox nil literal. # @return [Loxxy::Datatype::Nil] def self.lox_nil Datatype::Nil.instance end # Shorthand method. Returns the sole object that represents # a Lox true literal. # @return [Loxxy::Datatype::True] def self.lox_true Datatype::True.instance end end
Version data entries
16 entries across 16 versions & 1 rubygems