Class ANTLRTokenWrapper
- java.lang.Object
-
- org.palladiosimulator.editors.commons.dialogs.stoex.ANTLRTokenWrapper
-
- All Implemented Interfaces:
IToken
@Deprecated(forRemoval=true) public class ANTLRTokenWrapper extends Object implements IToken
Deprecated, for removal: This API element is subject to removal in a future version.The Class ANTLRTokenWrapper.
-
-
Constructor Summary
Constructors Constructor Description ANTLRTokenWrapper(org.antlr.runtime.Token t, ITokenMapper myMapper)
Deprecated, for removal: This API element is subject to removal in a future version.Instantiates a new aNTLR token wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
getData()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the data.org.antlr.runtime.Token
getToken()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the token.boolean
isEOF()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is eof.boolean
isOther()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is other.boolean
isUndefined()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is undefined.boolean
isWhitespace()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is whitespace.void
setIsWhitespace(boolean isWhitespace)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the checks if is whitespace.
-
-
-
Constructor Detail
-
ANTLRTokenWrapper
public ANTLRTokenWrapper(org.antlr.runtime.Token t, ITokenMapper myMapper)
Deprecated, for removal: This API element is subject to removal in a future version.Instantiates a new aNTLR token wrapper.- Parameters:
t
- the tmyMapper
- the my mapper
-
-
Method Detail
-
getData
public Object getData()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the data.- Specified by:
getData
in interfaceIToken
- Returns:
- the data
- See Also:
IToken.getData()
-
isEOF
public boolean isEOF()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is eof.- Specified by:
isEOF
in interfaceIToken
- Returns:
- true, if is eof
- See Also:
IToken.isEOF()
-
isOther
public boolean isOther()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is other.- Specified by:
isOther
in interfaceIToken
- Returns:
- true, if is other
- See Also:
IToken.isOther()
-
isUndefined
public boolean isUndefined()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is undefined.- Specified by:
isUndefined
in interfaceIToken
- Returns:
- true, if is undefined
- See Also:
IToken.isUndefined()
-
isWhitespace
public boolean isWhitespace()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if is whitespace.- Specified by:
isWhitespace
in interfaceIToken
- Returns:
- true, if is whitespace
- See Also:
IToken.isWhitespace()
-
setIsWhitespace
public void setIsWhitespace(boolean isWhitespace)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the checks if is whitespace.- Parameters:
isWhitespace
- the new checks if is whitespace
-
getToken
public org.antlr.runtime.Token getToken()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the token.- Returns:
- the token
-
-