net.mtu.eggplant.dbc
Class AssertToken
java.lang.Object
antlr.Token
net.mtu.eggplant.dbc.AssertToken
- All Implemented Interfaces:
- Cloneable
- public class AssertToken
- extends Token
- Version:
- $Revision: 1.4 $
Methods inherited from class antlr.Token |
getColumn, getFilename, getLine, getText, getType, setColumn, setFilename, setLine, setText, setType, toString |
AssertToken
public AssertToken(String condition,
String message,
int type,
String text)
- PreConditions
- (condition != null)
AssertToken
public AssertToken(String condition,
String message)
- PreConditions
- (condition != null)
getMessage
public final String getMessage()
- Returns:
- the message for this assertion, this may be null
getCondition
public final String getCondition()
- Returns:
- the condition for this assertion