sk.uniba.euromath.tests.core
Class GrammarPrinter
java.lang.Object
sk.uniba.euromath.tests.core.GrammarPrinter
- All Implemented Interfaces:
- com.sun.msv.grammar.ExpressionVisitorExpression
public class GrammarPrinter
- extends Object
- implements com.sun.msv.grammar.ExpressionVisitorExpression
- Author:
- Martin Vysny
Constructor Summary |
GrammarPrinter(com.sun.msv.grammar.ExpressionPool pool,
boolean expandExps)
|
Method Summary |
static void |
main(String[] args)
|
com.sun.msv.grammar.Expression |
onAnyString()
|
com.sun.msv.grammar.Expression |
onAttribute(com.sun.msv.grammar.AttributeExp exp)
|
com.sun.msv.grammar.Expression |
onChoice(com.sun.msv.grammar.ChoiceExp exp)
|
com.sun.msv.grammar.Expression |
onConcur(com.sun.msv.grammar.ConcurExp p)
|
com.sun.msv.grammar.Expression |
onData(com.sun.msv.grammar.DataExp exp)
|
com.sun.msv.grammar.Expression |
onElement(com.sun.msv.grammar.ElementExp exp)
|
com.sun.msv.grammar.Expression |
onEpsilon()
|
com.sun.msv.grammar.Expression |
onInterleave(com.sun.msv.grammar.InterleaveExp p)
|
com.sun.msv.grammar.Expression |
onList(com.sun.msv.grammar.ListExp exp)
|
com.sun.msv.grammar.Expression |
onMixed(com.sun.msv.grammar.MixedExp exp)
|
com.sun.msv.grammar.Expression |
onNullSet()
|
com.sun.msv.grammar.Expression |
onOneOrMore(com.sun.msv.grammar.OneOrMoreExp exp)
|
com.sun.msv.grammar.Expression |
onOther(com.sun.msv.grammar.OtherExp exp)
|
com.sun.msv.grammar.Expression |
onRef(com.sun.msv.grammar.ReferenceExp exp)
|
com.sun.msv.grammar.Expression |
onSequence(com.sun.msv.grammar.SequenceExp exp)
|
com.sun.msv.grammar.Expression |
onValue(com.sun.msv.grammar.ValueExp exp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrammarPrinter
public GrammarPrinter(com.sun.msv.grammar.ExpressionPool pool,
boolean expandExps)
onAnyString
public com.sun.msv.grammar.Expression onAnyString()
- Specified by:
onAnyString
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onAttribute
public com.sun.msv.grammar.Expression onAttribute(com.sun.msv.grammar.AttributeExp exp)
- Specified by:
onAttribute
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onConcur
public com.sun.msv.grammar.Expression onConcur(com.sun.msv.grammar.ConcurExp p)
- Specified by:
onConcur
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onData
public com.sun.msv.grammar.Expression onData(com.sun.msv.grammar.DataExp exp)
- Specified by:
onData
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onElement
public com.sun.msv.grammar.Expression onElement(com.sun.msv.grammar.ElementExp exp)
- Specified by:
onElement
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onEpsilon
public com.sun.msv.grammar.Expression onEpsilon()
- Specified by:
onEpsilon
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onChoice
public com.sun.msv.grammar.Expression onChoice(com.sun.msv.grammar.ChoiceExp exp)
- Specified by:
onChoice
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onInterleave
public com.sun.msv.grammar.Expression onInterleave(com.sun.msv.grammar.InterleaveExp p)
- Specified by:
onInterleave
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onList
public com.sun.msv.grammar.Expression onList(com.sun.msv.grammar.ListExp exp)
- Specified by:
onList
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onMixed
public com.sun.msv.grammar.Expression onMixed(com.sun.msv.grammar.MixedExp exp)
- Specified by:
onMixed
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onNullSet
public com.sun.msv.grammar.Expression onNullSet()
- Specified by:
onNullSet
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onOneOrMore
public com.sun.msv.grammar.Expression onOneOrMore(com.sun.msv.grammar.OneOrMoreExp exp)
- Specified by:
onOneOrMore
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onOther
public com.sun.msv.grammar.Expression onOther(com.sun.msv.grammar.OtherExp exp)
- Specified by:
onOther
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onRef
public com.sun.msv.grammar.Expression onRef(com.sun.msv.grammar.ReferenceExp exp)
- Specified by:
onRef
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onSequence
public com.sun.msv.grammar.Expression onSequence(com.sun.msv.grammar.SequenceExp exp)
- Specified by:
onSequence
in interface com.sun.msv.grammar.ExpressionVisitorExpression
onValue
public com.sun.msv.grammar.Expression onValue(com.sun.msv.grammar.ValueExp exp)
- Specified by:
onValue
in interface com.sun.msv.grammar.ExpressionVisitorExpression
main
public static void main(String[] args)
Copyright © 2003-2006 null. All Rights Reserved.