public class AnonVariableType extends AbstractVariableType
| Constructor and Description |
|---|
AnonVariableType(RegEx expression)
Constructor for AnonVariableType, just calls super(expression).
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractVariableTypeVisitor vis)
accept method for visitor pattern.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorMessage()
Return the field errorMessage.
|
java.lang.String |
getRepString()
Returns the type-representation for printing.
|
int |
hashCode() |
java.lang.String |
print()
Returns the line to print.
|
java.lang.String |
toStringResolved()
Returns the resolved string of the regexpart, with extensions and withOUT references like
(RE:LABEL).
|
getExpression, matches, setExpressionpublic AnonVariableType(RegEx expression)
expression - The expression to set.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getRepString()
AbstractVariableTypegetRepString in class AbstractVariableTypepublic java.lang.String print()
AbstractVariableTypeprint in class AbstractVariableTypepublic java.lang.String getErrorMessage()
AbstractVariableTypegetErrorMessage in class AbstractVariableTypepublic java.lang.String toStringResolved()
throws ReferenceIsUnresolvedException
AbstractTypetoStringResolved in class AbstractTypeReferenceIsUnresolvedException - If a part is unresolved.public void accept(AbstractVariableTypeVisitor vis) throws TypeDoesNotExistException, TypeExceptions
AbstractVariableTypeaccept in class AbstractVariableTypevis - the visitor.TypeDoesNotExistException - if a part is not resolvableTypeExceptions - if a cycle is detected