public abstract class SyntheticParser extends Object implements org.vesalainen.grammar.SyntheticParserIntf
| Constructor and Description |
|---|
SyntheticParser() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
anonymousTerminal(String name,
org.vesalainen.grammar.Grammar g) |
protected List<TypeMirror> |
choiseList(List<TypeMirror> typeList,
TypeMirror type) |
protected List<TypeMirror> |
choiseList(TypeMirror type) |
protected abstract void |
comma() |
TypeMirror |
parse(String text,
org.vesalainen.grammar.Grammar g) |
protected abstract TypeMirror |
parseIt(String text,
org.vesalainen.grammar.Grammar g) |
protected abstract void |
pipe() |
protected TypeMirror |
plainChoise(List<TypeMirror> typeList) |
protected TypeMirror |
plainOpt(TypeMirror type) |
protected TypeMirror |
plainPlus(TypeMirror type) |
protected TypeMirror |
plainSeq(List<TypeMirror> typeList) |
protected TypeMirror |
plainStar(TypeMirror type) |
protected TypeMirror |
plainSymbol(String symbol,
org.vesalainen.grammar.Grammar g) |
protected List<TypeMirror> |
seqList(List<TypeMirror> typeList,
TypeMirror type) |
protected List<TypeMirror> |
seqList(TypeMirror type) |
protected String |
symbol(String name) |
protected String |
symbolName(String name) |
public TypeMirror parse(String text, org.vesalainen.grammar.Grammar g)
parse in interface org.vesalainen.grammar.SyntheticParserIntfprotected abstract TypeMirror parseIt(String text, org.vesalainen.grammar.Grammar g)
text - g - protected TypeMirror plainSymbol(String symbol, org.vesalainen.grammar.Grammar g)
protected TypeMirror plainStar(TypeMirror type)
protected TypeMirror plainPlus(TypeMirror type)
protected TypeMirror plainOpt(TypeMirror type)
protected TypeMirror plainChoise(List<TypeMirror> typeList)
protected List<TypeMirror> choiseList(TypeMirror type)
protected List<TypeMirror> choiseList(List<TypeMirror> typeList, TypeMirror type)
protected TypeMirror plainSeq(List<TypeMirror> typeList)
protected List<TypeMirror> seqList(TypeMirror type)
protected List<TypeMirror> seqList(List<TypeMirror> typeList, TypeMirror type)
protected abstract void pipe()
protected abstract void comma()
Copyright © 2015. All rights reserved.