Class RXBuild.Dom.LiteralMatcher
Extends
RXBuild.Dom.Node.
The LiteralMatcher class matches the provided text literally
Defined in: regex_dom_terminals.js.
Constructor Attributes | Constructor Name and Description |
---|---|
RXBuild.Dom.LiteralMatcher(textToMatch)
|
Field Attributes | Field Name and Description |
---|---|
The text to look for in the input stream
|
- Fields borrowed from class RXBuild.Dom.Node:
- id, next, tokens
Method Attributes | Method Name and Description |
---|---|
buildGrammarDiagramBox(container)
|
|
Returns a human readable description of this match
|
|
GetHtml()
Returns an HTML description of this match
|
- Methods borrowed from class RXBuild.Dom.Node:
- Accept, AddTokens, AppendAtEnd, buildGrammarDiagram, GetChainDescription, GetChainHtml, GetHtmlOpenTag, GetLast, GetTokenHighlightJS, NodeRegExTokenHighlight, RunForAll, RunOnMe, StartVisit
Class Detail
RXBuild.Dom.LiteralMatcher(textToMatch)
- Parameters:
- {String} textToMatch
- The text to look for in the input stream
Field Detail
{String}
texttomatch
The text to look for in the input stream
Method Detail
buildGrammarDiagramBox(container)
Defined in: regex_syntax_diagram.js.
- Parameters:
- container
{String}
GetDescription()
Returns a human readable description of this match
- Returns:
- {String} The description of this node in human readable format.
{String}
GetHtml()
Returns an HTML description of this match
- Returns:
- {String} An HTML description of this match