public class TransactionStatement extends JavaStatement
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String[] | 
names  | 
private int | 
type  | 
| Constructor and Description | 
|---|
TransactionStatement(int type)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object o)  | 
boolean | 
equalsModRenaming(SourceElement source,
                 NameAbstractionTable nat)
commented in interface SourceElement. 
 | 
ProgramElement | 
getChildAt(int index)
Returns the child at the specified index in this node's "virtual"
      child array. 
 | 
int | 
getChildCount()
Returns the number of children of this node. 
 | 
int | 
getPrecedence()  | 
MatchConditions | 
match(SourceData source,
     MatchConditions conditions)
matches the source "text" (@link SourceData#getSource()) against the pattern represented 
 by this object. 
 | 
void | 
prettyPrint(PrettyPrinter p)
Pretty printing the source element. 
 | 
java.lang.String | 
toString()
toString 
 | 
void | 
visit(Visitor v)
calls the corresponding method of a visitor in order to
 perform some action/transformation on this element 
 | 
compatibleBlockSize, computeHashCode, getArrayPos, matchChildrengetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCommentsgetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPositionpublic void visit(Visitor v)
SourceElementv - the Visitorpublic ProgramElement getChildAt(int index)
NonTerminalProgramElementindex - an index into this node's "virtual" child arraypublic int getChildCount()
NonTerminalProgramElementpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.public int getPrecedence()
public java.lang.String toString()
JavaSourceElementtoString in class JavaSourceElementpublic boolean equals(java.lang.Object o)
equals in class JavaNonTerminalProgramElementpublic MatchConditions match(SourceData source, MatchConditions conditions)
ProgramElementMatchConditions with 
 the found instantiations of the schemavariables. If the match 
 failed, null is returned instead.match in interface ProgramElementmatch in class JavaNonTerminalProgramElementsource - the SourceData with the program element to matchconditions - the MatchConditions found up to this pointpublic boolean equalsModRenaming(SourceElement source, NameAbstractionTable nat)
JavaNonTerminalProgramElementequalsModRenaming in interface SourceElementequalsModRenaming in class JavaNonTerminalProgramElement