Token

public final class Token extends TokenizerTypes

The representation of the significant subunits of the program source code.

Constructors

Token
Link copied to clipboard
Token Token(String value, IntRange location)

Functions

component1
Link copied to clipboard
final String component1()
component2
Link copied to clipboard
final IntRange component2()
copy
Link copied to clipboard
final Token copy(String value, IntRange location)
equals
Link copied to clipboard
Boolean equals(Object other)
getLocation
Link copied to clipboard
final IntRange getLocation()
The location within the source code of the significant subunit.
getValue
Link copied to clipboard
final String getValue()
The String representation of the significant subunits of the source code.
hashCode
Link copied to clipboard
Integer hashCode()
toString
Link copied to clipboard
String toString()

Properties

location
Link copied to clipboard
private final IntRange location
The location within the source code of the significant subunit.
value
Link copied to clipboard
private final String value
The String representation of the significant subunits of the source code.