Sha256: c4ba0a40f2390d8cdd4a666bbfacdbab8dff279d94c595265299542d0082d0c0
Contents?: true
Size: 791 Bytes
Versions: 20
Compression:
Stored size: 791 Bytes
Contents
# frozen_string_literal: true require_relative 'loxxy/version' require_relative 'loxxy/cli_parser' 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
20 entries across 20 versions & 1 rubygems