Class RXBuild.Dom.PositionalMatch
Extends
RXBuild.Dom.Node.
The PositionalMatch class matches the specific positions (such as $, ^, \b and \B)
Defined in: regex_dom_terminals.js.
Constructor Attributes | Constructor Name and Description |
---|---|
RXBuild.Dom.PositionalMatch(positionalChar, multiline)
|
Field Attributes | Field Name and Description |
---|---|
If set, the regexp was compiled in multiline
|
|
The character representing the position to match
|
- 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.PositionalMatch(positionalChar, multiline)
- Parameters:
- {String} positionalChar
- The character representing the position to match
- {Boolean} multiline
- Whether the regexp was compiled in multiline
Field Detail
{Boolean}
multiline
If set, the regexp was compiled in multiline
{String}
posChar
The character representing the position to match
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