Sha256: 78fb984188e2bfd0045ea370a397fc4e7740a7c66f16d7065bfbe887cd422efa
Contents?: true
Size: 558 Bytes
Versions: 2
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true # # Copyright (c) 2018-present, Blue Marble Payroll, LLC # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # module Logicality module Parser module Ast # Base construct defining all nodes. class Node attr_reader :token, :name def initialize(token) @token = token @name = '' end def to_s "AstNode: #{self.class.name}::#{token}" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logicality-2.0.0 | lib/logicality/parser/ast/node.rb |
logicality-1.0.5 | lib/logicality/parser/ast/node.rb |