class RedParse::KeywordToken

Public Instance Methods

as() click to toggle source
# File lib/redparse/node.rb, line 227
def as
  if tag and ident[/^[,*&]$/]
    tag.to_s+ident
  else old_as
  end
end
Also aliased as: old_as
infix() click to toggle source
# File lib/redparse/node.rb, line 234
def infix
  @infix if defined? @infix
end
not_real!() click to toggle source
# File lib/redparse/node.rb, line 199
def not_real!
  @not_real=true
end
not_real?() click to toggle source
# File lib/redparse/node.rb, line 203
def not_real?
  @not_real if defined? @not_real
end
old_as()

KeywordToken#as/infix should be in rubylexer

Alias for: as
reducer_ident() click to toggle source
# File lib/redparse.rb, line 751
def reducer_ident
  :"KeywordToken_#@ident"
end
reducer_method(stack) click to toggle source
# File lib/redparse.rb, line 748
def reducer_method(stack)
  :"reduce_with_tos_KeywordToken_#@ident"
end