Utility class to store a name and a textual description of the meaning of a token used by the parser syntax tree. A specification of the variable type and a reference to a specific pattern are optional.
Construct a ParserTokenDoc object. name and text are Strings that hold the name and textual description of the parser token.
# File lib/taskjuggler/TextParser/TokenDoc.rb, line 26 26: def initialize(name, arg) 27: @name = name 28: if arg.is_a?(String) 29: @text = arg 30: else 31: @pattern = arg 32: end 33: @typeSpec = nil 34: @pattern = nil 35: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.