Package com.scriptbasic.lexer
Class AbstractLexicalElement
java.lang.Object
com.scriptbasic.lexer.AbstractLexicalElement
- All Implemented Interfaces:
LexicalElement,SourceLocationBound
- Direct Known Subclasses:
BasicLexicalElement
-
Field Summary
Fields inherited from interface com.scriptbasic.interfaces.LexicalElement
TYPE_BOOLEAN, TYPE_DOUBLE, TYPE_IDENTIFIER, TYPE_LONG, TYPE_STRING, TYPE_SYMBOL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.scriptbasic.interfaces.LexicalElement
booleanValue, doubleValue, getLexeme, getType, isBoolean, isDouble, isIdentifier, isLineTerminator, isLong, isStatementSeparator, isString, isSymbol, isSymbol, longValue, stringValueMethods inherited from interface com.scriptbasic.interfaces.SourceLocationBound
getFileName, getLineNumber, getPosition
-
Constructor Details
-
AbstractLexicalElement
public AbstractLexicalElement()
-
-
Method Details
-
isNumeric
- Specified by:
isNumericin interfaceLexicalElement
-
isLiteralConstant
- Specified by:
isLiteralConstantin interfaceLexicalElement
-