public class DebugSequenceAcceptor extends DelegatingSequenceAcceptor
Modifier and Type | Field and Description |
---|---|
protected static int |
COLS |
protected boolean |
hideHidden |
protected int |
indentation |
protected static ICompositeNode |
NO_NODE |
protected boolean |
printInstantly |
protected java.util.List<java.util.List<java.lang.String>> |
table |
protected GrammarElementTitleSwitch |
titles |
NO_INDEX
Constructor and Description |
---|
DebugSequenceAcceptor() |
DebugSequenceAcceptor(boolean printInstantly) |
DebugSequenceAcceptor(ISemanticSequenceAcceptor delegate) |
DebugSequenceAcceptor(ISemanticSequenceAcceptor delegate,
boolean printInstantly) |
Modifier and Type | Method and Description |
---|---|
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 |
acceptAssignedCrossRefKeyword(Keyword kw,
java.lang.String token,
org.eclipse.emf.ecore.EObject value,
int index,
ILeafNode 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.Object 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() |
DebugSequenceAcceptor |
hideHiddenTokens() |
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() |
getDelegate, setDelegate
protected static final int COLS
protected static final ICompositeNode NO_NODE
protected boolean hideHidden
protected int indentation
protected boolean printInstantly
protected java.util.List<java.util.List<java.lang.String>> table
protected GrammarElementTitleSwitch titles
public DebugSequenceAcceptor()
public DebugSequenceAcceptor(boolean printInstantly)
public DebugSequenceAcceptor(ISemanticSequenceAcceptor delegate)
public DebugSequenceAcceptor(ISemanticSequenceAcceptor delegate, boolean printInstantly)
public void acceptAssignedCrossRefDatatype(RuleCall rc, java.lang.String token, org.eclipse.emf.ecore.EObject value, int index, ICompositeNode node)
acceptAssignedCrossRefDatatype
in interface ISemanticSequenceAcceptor
acceptAssignedCrossRefDatatype
in class DelegatingSequenceAcceptor
public void acceptAssignedCrossRefEnum(RuleCall enumRC, java.lang.String token, org.eclipse.emf.ecore.EObject value, int index, ICompositeNode node)
acceptAssignedCrossRefEnum
in interface ISemanticSequenceAcceptor
acceptAssignedCrossRefEnum
in class DelegatingSequenceAcceptor
public void acceptAssignedCrossRefKeyword(Keyword kw, java.lang.String token, org.eclipse.emf.ecore.EObject value, int index, ILeafNode node)
acceptAssignedCrossRefKeyword
in interface ISemanticSequenceAcceptor
acceptAssignedCrossRefKeyword
in class DelegatingSequenceAcceptor
public void acceptAssignedCrossRefTerminal(RuleCall rc, java.lang.String token, org.eclipse.emf.ecore.EObject value, int index, ILeafNode node)
acceptAssignedCrossRefTerminal
in interface ISemanticSequenceAcceptor
acceptAssignedCrossRefTerminal
in class DelegatingSequenceAcceptor
public void acceptAssignedDatatype(RuleCall datatypeRC, java.lang.String token, java.lang.Object value, int index, ICompositeNode node)
acceptAssignedDatatype
in interface ISemanticSequenceAcceptor
acceptAssignedDatatype
in class DelegatingSequenceAcceptor
public void acceptAssignedEnum(RuleCall enumRC, java.lang.String token, java.lang.Object value, int index, ICompositeNode node)
acceptAssignedEnum
in interface ISemanticSequenceAcceptor
acceptAssignedEnum
in class DelegatingSequenceAcceptor
public void acceptAssignedKeyword(Keyword keyword, java.lang.String token, java.lang.Boolean value, int index, ILeafNode node)
public void acceptAssignedKeyword(Keyword keyword, java.lang.String token, java.lang.Object value, int index, ILeafNode node)
acceptAssignedKeyword
in interface ISemanticSequenceAcceptor
acceptAssignedKeyword
in class DelegatingSequenceAcceptor
public void acceptAssignedKeyword(Keyword keyword, java.lang.String token, java.lang.String value, int index, ILeafNode node)
public void acceptAssignedTerminal(RuleCall terminalRC, java.lang.String token, java.lang.Object value, int index, ILeafNode node)
acceptAssignedTerminal
in interface ISemanticSequenceAcceptor
acceptAssignedTerminal
in class DelegatingSequenceAcceptor
public void acceptComment(AbstractRule rule, java.lang.String token, ILeafNode node)
acceptComment
in interface ISequenceAcceptor
acceptComment
in class DelegatingSequenceAcceptor
public void acceptUnassignedAction(Action action)
acceptUnassignedAction
in interface ISyntacticSequenceAcceptor
acceptUnassignedAction
in class DelegatingSequenceAcceptor
public void acceptUnassignedDatatype(RuleCall datatypeRC, java.lang.String value, ICompositeNode node)
acceptUnassignedDatatype
in interface ISyntacticSequenceAcceptor
acceptUnassignedDatatype
in class DelegatingSequenceAcceptor
public void acceptUnassignedEnum(RuleCall enumRC, java.lang.String value, ICompositeNode node)
acceptUnassignedEnum
in interface ISyntacticSequenceAcceptor
acceptUnassignedEnum
in class DelegatingSequenceAcceptor
public void acceptUnassignedKeyword(Keyword keyword, java.lang.String token, ILeafNode node)
acceptUnassignedKeyword
in interface ISyntacticSequenceAcceptor
acceptUnassignedKeyword
in class DelegatingSequenceAcceptor
public void acceptUnassignedTerminal(RuleCall terminalRC, java.lang.String value, ILeafNode node)
acceptUnassignedTerminal
in interface ISyntacticSequenceAcceptor
acceptUnassignedTerminal
in class DelegatingSequenceAcceptor
public void acceptWhitespace(AbstractRule rule, java.lang.String token, ILeafNode node)
acceptWhitespace
in interface ISequenceAcceptor
acceptWhitespace
in class DelegatingSequenceAcceptor
protected void add(java.lang.String grammar, java.lang.String token, java.lang.String value, int index, INode node)
public boolean enterAssignedAction(Action action, org.eclipse.emf.ecore.EObject semanticChild, ICompositeNode node)
enterAssignedAction
in interface ISemanticSequenceAcceptor
enterAssignedAction
in class DelegatingSequenceAcceptor
public boolean enterAssignedParserRuleCall(RuleCall rc, org.eclipse.emf.ecore.EObject newCurrent, ICompositeNode node)
enterAssignedParserRuleCall
in interface ISemanticSequenceAcceptor
enterAssignedParserRuleCall
in class DelegatingSequenceAcceptor
public void enterUnassignedParserRuleCall(RuleCall rc)
enterUnassignedParserRuleCall
in interface ISyntacticSequenceAcceptor
enterUnassignedParserRuleCall
in class DelegatingSequenceAcceptor
public void finish()
finish
in interface ISemanticSequenceAcceptor
finish
in class DelegatingSequenceAcceptor
public java.util.List<java.lang.String> getColumn(int i)
public java.util.List<java.lang.String> getList()
public java.util.List<java.util.List<java.lang.String>> getTable()
public DebugSequenceAcceptor hideHiddenTokens()
public void leaveAssignedAction(Action action, org.eclipse.emf.ecore.EObject semanticChild)
leaveAssignedAction
in interface ISemanticSequenceAcceptor
leaveAssignedAction
in class DelegatingSequenceAcceptor
public void leaveAssignedParserRuleCall(RuleCall rc, org.eclipse.emf.ecore.EObject semanticChild)
leaveAssignedParserRuleCall
in interface ISemanticSequenceAcceptor
leaveAssignedParserRuleCall
in class DelegatingSequenceAcceptor
public void leaveUnssignedParserRuleCall(RuleCall rc)
leaveUnssignedParserRuleCall
in interface ISyntacticSequenceAcceptor
leaveUnssignedParserRuleCall
in class DelegatingSequenceAcceptor
protected java.lang.String node2text(INode node)
public java.lang.String toString()
toString
in class java.lang.Object