public class ParserAlternative extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
end |
ArrayList<Rule> |
rules |
int |
start |
| Constructor and Description |
|---|
ParserAlternative(int start) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ArrayList<Rule> rules,
int end) |
void |
add(Rule rule,
int end) |
static ParserAlternative |
getBest(List<ParserAlternative> alternatives) |
public static ParserAlternative getBest(List<ParserAlternative> alternatives)
public void add(Rule rule, int end)
Copyright © 2022 WSO2. All rights reserved.