org.eclipse.xtext.junit.serializer
Class DebugSequenceAcceptor
java.lang.Object
org.eclipse.xtext.junit.serializer.DebugSequenceAcceptor
- All Implemented Interfaces:
- ISemanticSequenceAcceptor, ISequenceAcceptor, ISyntacticSequenceAcceptor
public class DebugSequenceAcceptor
- extends java.lang.Object
- implements ISequenceAcceptor
- Author:
- Moritz Eysholdt - Initial contribution and API
Method Summary |
void |
acceptAssignedCrossRefDatatype(RuleCall rc,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ICompositeNode node)
|
void |
acceptAssignedCrossRefEnum(RuleCall enumRC,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ICompositeNode node)
|
void |
acceptAssignedCrossRefTerminal(RuleCall rc,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ILeafNode node)
|
void |
acceptAssignedDatatype(RuleCall datatypeRC,
java.lang.String token,
java.lang.Object value,
int index,
ICompositeNode node)
|
void |
acceptAssignedEnum(RuleCall enumRC,
java.lang.String token,
java.lang.Object value,
int index,
ICompositeNode node)
|
void |
acceptAssignedKeyword(Keyword keyword,
java.lang.String token,
java.lang.Boolean value,
int index,
ILeafNode node)
|
void |
acceptAssignedKeyword(Keyword keyword,
java.lang.String token,
java.lang.String value,
int index,
ILeafNode node)
|
void |
acceptAssignedTerminal(RuleCall terminalRC,
java.lang.String token,
java.lang.Object value,
int index,
ILeafNode node)
|
void |
acceptComment(AbstractRule rule,
java.lang.String token,
ILeafNode node)
|
void |
acceptUnassignedAction(Action action)
|
void |
acceptUnassignedDatatype(RuleCall datatypeRC,
java.lang.String value,
ICompositeNode node)
|
void |
acceptUnassignedEnum(RuleCall enumRC,
java.lang.String value,
ICompositeNode node)
|
void |
acceptUnassignedKeyword(Keyword keyword,
java.lang.String token,
ILeafNode node)
|
void |
acceptUnassignedTerminal(RuleCall terminalRC,
java.lang.String value,
ILeafNode node)
|
void |
acceptWhitespace(AbstractRule rule,
java.lang.String token,
ILeafNode node)
|
protected void |
add(java.lang.String grammar,
java.lang.String token,
java.lang.String value,
int index,
INode node)
|
boolean |
enterAssignedAction(Action action,
org.eclipse.emf.ecore.EObject semanticChild,
ICompositeNode node)
|
boolean |
enterAssignedParserRuleCall(RuleCall rc,
org.eclipse.emf.ecore.EObject newCurrent,
ICompositeNode node)
|
void |
enterUnassignedParserRuleCall(RuleCall rc)
|
void |
finish()
|
java.util.List<java.lang.String> |
getColumn(int i)
|
java.util.List<java.lang.String> |
getList()
|
java.util.List<java.util.List<java.lang.String>> |
getTable()
|
void |
leaveAssignedAction(Action action,
org.eclipse.emf.ecore.EObject semanticChild)
|
void |
leaveAssignedParserRuleCall(RuleCall rc,
org.eclipse.emf.ecore.EObject semanticChild)
|
void |
leaveUnssignedParserRuleCall(RuleCall rc)
|
protected java.lang.String |
node2text(INode node)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLS
protected static final int COLS
- See Also:
- Constant Field Values
NO_NODE
protected static final ICompositeNode NO_NODE
indentation
protected int indentation
printInstantly
protected boolean printInstantly
table
protected java.util.List<java.util.List<java.lang.String>> table
titles
protected GrammarElementTitleSwitch titles
DebugSequenceAcceptor
public DebugSequenceAcceptor()
DebugSequenceAcceptor
public DebugSequenceAcceptor(boolean printInstantly)
acceptAssignedCrossRefDatatype
public void acceptAssignedCrossRefDatatype(RuleCall rc,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ICompositeNode node)
- Specified by:
acceptAssignedCrossRefDatatype
in interface ISemanticSequenceAcceptor
acceptAssignedCrossRefEnum
public void acceptAssignedCrossRefEnum(RuleCall enumRC,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ICompositeNode node)
- Specified by:
acceptAssignedCrossRefEnum
in interface ISemanticSequenceAcceptor
acceptAssignedCrossRefTerminal
public void acceptAssignedCrossRefTerminal(RuleCall rc,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ILeafNode node)
- Specified by:
acceptAssignedCrossRefTerminal
in interface ISemanticSequenceAcceptor
acceptAssignedDatatype
public void acceptAssignedDatatype(RuleCall datatypeRC,
java.lang.String token,
java.lang.Object value,
int index,
ICompositeNode node)
- Specified by:
acceptAssignedDatatype
in interface ISemanticSequenceAcceptor
acceptAssignedEnum
public void acceptAssignedEnum(RuleCall enumRC,
java.lang.String token,
java.lang.Object value,
int index,
ICompositeNode node)
- Specified by:
acceptAssignedEnum
in interface ISemanticSequenceAcceptor
acceptAssignedKeyword
public void acceptAssignedKeyword(Keyword keyword,
java.lang.String token,
java.lang.Boolean value,
int index,
ILeafNode node)
- Specified by:
acceptAssignedKeyword
in interface ISemanticSequenceAcceptor
acceptAssignedKeyword
public void acceptAssignedKeyword(Keyword keyword,
java.lang.String token,
java.lang.String value,
int index,
ILeafNode node)
- Specified by:
acceptAssignedKeyword
in interface ISemanticSequenceAcceptor
acceptAssignedTerminal
public void acceptAssignedTerminal(RuleCall terminalRC,
java.lang.String token,
java.lang.Object value,
int index,
ILeafNode node)
- Specified by:
acceptAssignedTerminal
in interface ISemanticSequenceAcceptor
acceptComment
public void acceptComment(AbstractRule rule,
java.lang.String token,
ILeafNode node)
- Specified by:
acceptComment
in interface ISequenceAcceptor
acceptUnassignedAction
public void acceptUnassignedAction(Action action)
- Specified by:
acceptUnassignedAction
in interface ISyntacticSequenceAcceptor
acceptUnassignedDatatype
public void acceptUnassignedDatatype(RuleCall datatypeRC,
java.lang.String value,
ICompositeNode node)
- Specified by:
acceptUnassignedDatatype
in interface ISyntacticSequenceAcceptor
acceptUnassignedEnum
public void acceptUnassignedEnum(RuleCall enumRC,
java.lang.String value,
ICompositeNode node)
- Specified by:
acceptUnassignedEnum
in interface ISyntacticSequenceAcceptor
acceptUnassignedKeyword
public void acceptUnassignedKeyword(Keyword keyword,
java.lang.String token,
ILeafNode node)
- Specified by:
acceptUnassignedKeyword
in interface ISyntacticSequenceAcceptor
acceptUnassignedTerminal
public void acceptUnassignedTerminal(RuleCall terminalRC,
java.lang.String value,
ILeafNode node)
- Specified by:
acceptUnassignedTerminal
in interface ISyntacticSequenceAcceptor
acceptWhitespace
public void acceptWhitespace(AbstractRule rule,
java.lang.String token,
ILeafNode node)
- Specified by:
acceptWhitespace
in interface ISequenceAcceptor
add
protected void add(java.lang.String grammar,
java.lang.String token,
java.lang.String value,
int index,
INode node)
enterAssignedAction
public boolean enterAssignedAction(Action action,
org.eclipse.emf.ecore.EObject semanticChild,
ICompositeNode node)
- Specified by:
enterAssignedAction
in interface ISemanticSequenceAcceptor
enterAssignedParserRuleCall
public boolean enterAssignedParserRuleCall(RuleCall rc,
org.eclipse.emf.ecore.EObject newCurrent,
ICompositeNode node)
- Specified by:
enterAssignedParserRuleCall
in interface ISemanticSequenceAcceptor
enterUnassignedParserRuleCall
public void enterUnassignedParserRuleCall(RuleCall rc)
- Specified by:
enterUnassignedParserRuleCall
in interface ISyntacticSequenceAcceptor
finish
public void finish()
- Specified by:
finish
in interface ISemanticSequenceAcceptor
getColumn
public java.util.List<java.lang.String> getColumn(int i)
getList
public java.util.List<java.lang.String> getList()
getTable
public java.util.List<java.util.List<java.lang.String>> getTable()
leaveAssignedAction
public void leaveAssignedAction(Action action,
org.eclipse.emf.ecore.EObject semanticChild)
- Specified by:
leaveAssignedAction
in interface ISemanticSequenceAcceptor
leaveAssignedParserRuleCall
public void leaveAssignedParserRuleCall(RuleCall rc,
org.eclipse.emf.ecore.EObject semanticChild)
- Specified by:
leaveAssignedParserRuleCall
in interface ISemanticSequenceAcceptor
leaveUnssignedParserRuleCall
public void leaveUnssignedParserRuleCall(RuleCall rc)
- Specified by:
leaveUnssignedParserRuleCall
in interface ISyntacticSequenceAcceptor
node2text
protected java.lang.String node2text(INode node)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object