class Logicality::Parser::Ast::Node
Base construct defining all nodes.
Attributes
name[R]
token[R]
Public Class Methods
new(token)
click to toggle source
# File lib/logicality/parser/ast/node.rb, line 17 def initialize(token) @token = token @name = '' end
Public Instance Methods
to_s()
click to toggle source
# File lib/logicality/parser/ast/node.rb, line 22 def to_s "AstNode: #{self.class.name}::#{token}" end