Parent

Class Index [+]

Quicksearch

RKelly::Token

Attributes

name[RW]

(Not documented)

value[RW]

(Not documented)

transformer[RW]

(Not documented)

line[RW]

(Not documented)

Public Class Methods

new(name, value, &transformer) click to toggle source

(Not documented)

# File lib/rkelly/token.rb, line 4
    def initialize(name, value, &transformer)
      @name         = name
      @value        = value
      @transformer  = transformer
    end

Public Instance Methods

to_racc_token() click to toggle source

(Not documented)

# File lib/rkelly/token.rb, line 10
    def to_racc_token
      return transformer.call(name, value) if transformer
      [name, value]
    end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.