Class Index | File Index

Classes


Class regex_parser.TokenInfo

The TokenInfo class holds information about a token from the input stream
Defined in: regex_parser.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
regex_parser.TokenInfo(value, offset, converter)
Creates a new instance of TokenInfo
Field Summary
Field Attributes Field Name and Description
 
The length of this token as it appeared originally in the input stream
 
The index of this token in the input stream
 
The actual value (possibly converted) of the part matched by this token
Class Detail
regex_parser.TokenInfo(value, offset, converter)
Creates a new instance of TokenInfo
Parameters:
{String} value
The value from the input stream
{Number} offset
The first index of this token in the input string
{function} converter
If defined, this function is called with the value as parameter, and its return value is used as the new value.
Field Detail
{Number} length
The length of this token as it appeared originally in the input stream

{Number} offset
The index of this token in the input stream

{String} value
The actual value (possibly converted) of the part matched by this token

Documentation generated by JsDoc Toolkit 2.0.2 on Mon May 02 2016 20:27:56 GMT+0200 (CEST)