public class FABuilder extends Action
| Modifier and Type | Method and Description |
|---|---|
Object |
choice(Object[] body) |
int |
getErrorState() |
FA |
getFA() |
net.oneandone.sushi.util.IntBitSet |
getInlines() |
Object |
loop(Object rawBody) |
Object |
range(char first,
char last) |
static FABuilder |
run(Rule[] rules,
net.oneandone.sushi.util.IntBitSet terminals,
StringArrayList symbolTable,
PrintWriter verbose)
Translates only those rules where the left-hand.side is contained
in the specified terminals set.
|
Object |
sequence(Object[] body) |
Object |
symbol(int symbol) |
Object |
without(Object a,
Object b) |
public static FABuilder run(Rule[] rules, net.oneandone.sushi.util.IntBitSet terminals, StringArrayList symbolTable, PrintWriter verbose) throws ActionException
ActionExceptionpublic FA getFA()
public net.oneandone.sushi.util.IntBitSet getInlines()
public int getErrorState()
public Object symbol(int symbol) throws ActionException
symbol in class ActionActionExceptionCopyright © 1998–2017 1&1. All rights reserved.