| Modifier and Type | Field and Description |
|---|---|
| private Set | contentModel
Expressions which are used as the content model of current element. |
| protected static final RuntimeException | eureka
this exception is thrown to abort check when a error is found. |
| private final GrammarReader | |
| private Stack | refStack
visited Expressions. |
| private final Set | testedExps
set of ElementExps which are already confirmed as being not a run-away exp. |
| private Stack | unprocessedElementExps
Queue of unchecked element exps. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| private void | |
| public static void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected final void |
| contentModel | back to summary |
|---|---|
| private Set<Expression> contentModel Expressions which are used as the content model of current element. | |
| eureka | back to summary |
|---|---|
| protected static final RuntimeException eureka this exception is thrown to abort check when a error is found. | |
| reader | back to summary |
|---|---|
| private final GrammarReader reader | |
| refStack | back to summary |
|---|---|
| private Stack<Expression> refStack visited Expressions. this information is useful for the user to figure out where did they make a mistake. | |
| testedExps | back to summary |
|---|---|
| private final Set<Expression> testedExps set of ElementExps which are already confirmed as being not a run-away exp. | |
| unprocessedElementExps | back to summary |
|---|---|
| private Stack<Expression> unprocessedElementExps Queue of unchecked element exps. | |
| RunAwayExpressionChecker | back to summary |
|---|---|
| protected RunAwayExpressionChecker(GrammarReader reader) | |
| binaryVisit | back to summary |
|---|---|
| protected final void binaryVisit(BinaryExp exp) | |
| check | back to summary |
|---|---|
| private void check(Expression exp) | |
| check | back to summary |
|---|---|
| public static void check(GrammarReader reader, Expression exp) | |
| enter | back to summary |
|---|---|
| private void enter(Expression exp) | |
| leave | back to summary |
|---|---|
| private void leave() | |
| onAnyString | back to summary |
|---|---|
| public void onAnyString() Implements com. | |
| onAttribute | back to summary |
|---|---|
| public void onAttribute(AttributeExp exp) Implements com. | |
| onChoice | back to summary |
|---|---|
| public void onChoice(ChoiceExp exp) Implements com. | |
| onConcur | back to summary |
|---|---|
| public void onConcur(ConcurExp exp) Implements com. | |
| onData | back to summary |
|---|---|
| public void onData(DataExp exp) Implements com. | |
| onElement | back to summary |
|---|---|
| public void onElement(ElementExp exp) Implements com. | |
| onEpsilon | back to summary |
|---|---|
| public void onEpsilon() Implements com. | |
| onInterleave | back to summary |
|---|---|
| public void onInterleave(InterleaveExp exp) Implements com. | |
| onList | back to summary |
|---|---|
| public void onList(ListExp exp) Implements com. | |
| onMixed | back to summary |
|---|---|
| public void onMixed(MixedExp exp) Implements com. | |
| onNullSet | back to summary |
|---|---|
| public void onNullSet() Implements com. | |
| onOneOrMore | back to summary |
|---|---|
| public void onOneOrMore(OneOrMoreExp exp) Implements com. | |
| onOther | back to summary |
|---|---|
| public void onOther(OtherExp exp) Implements com. | |
| onRef | back to summary |
|---|---|
| public void onRef(ReferenceExp exp) Implements com. | |
| onSequence | back to summary |
|---|---|
| public void onSequence(SequenceExp exp) Implements com. | |
| onValue | back to summary |
|---|---|
| public void onValue(ValueExp exp) Implements com. | |
| unaryVisit | back to summary |
|---|---|
| protected final void unaryVisit(UnaryExp exp) | |