| Package | Description |
|---|---|
| se.l4.lect.internal.tokens |
| Modifier and Type | Class and Description |
|---|---|
class |
BranchNode
Node that branches out and allows matches to be done in several branches.
|
class |
ExactTokenNode
Node used to match the start and end of input.
|
class |
NegateNode
Node for negating the result of another node.
|
class |
RangeNode
Node that checks that another node matches a number of times.
|
class |
SequenceNode
Node that checks that an entire sequence of nodes matches.
|
class |
TokenNode
Node that checks that an individual token and its properties matches.
|
| Modifier and Type | Field and Description |
|---|---|
protected MatcherNode |
MatcherNode.next |
| Modifier and Type | Method and Description |
|---|---|
static MatcherNode |
MatcherNode.createSequence(List<MatcherNode> nodes)
Create a
SequenceNode for the given nodes. |
MatcherNode |
MatcherNode.getTail()
Get the tail of this node.
|
MatcherNode |
TokenPatternParser.parse() |
| Modifier and Type | Method and Description |
|---|---|
void |
MatcherNode.setNext(MatcherNode next)
Set the node to evaluate after this one.
|
void |
SequenceNode.setNext(MatcherNode next) |
void |
BranchNode.setNext(MatcherNode next) |
| Modifier and Type | Method and Description |
|---|---|
static MatcherNode |
MatcherNode.createSequence(List<MatcherNode> nodes)
Create a
SequenceNode for the given nodes. |
| Constructor and Description |
|---|
NegateNode(MatcherNode node) |
RangeNode(MatcherNode node,
int min,
int max) |
SequenceNode(MatcherNode root) |
TokenMatcherImpl(int flags,
MatcherNode root) |
TokenPatternImpl(int flags,
MatcherNode node) |
| Constructor and Description |
|---|
BranchNode(List<MatcherNode> branches) |
Copyright © 2018. All rights reserved.