class Rubasteme::AST::IllegalNode

Public Class Methods

new(type, literal) click to toggle source
Calls superclass method Rubasteme::AST::Node::new
# File lib/rubasteme/ast.rb, line 91
def initialize(type, literal)
  super(literal)
  @given_type = type
  @literal = literal
end

Public Instance Methods

to_a() click to toggle source
# File lib/rubasteme/ast.rb, line 97
def to_a
  [type, @given_type, @literal]
end