case class Token(text: String, tpe: TokenType, value: AnyRef)(sourceLocation: SourceLocation) extends SourceLocatable with Product with Serializable
- Source
- Token.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Token
- Serializable
- Serializable
- Product
- Equals
- SourceLocatable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Token(text: String, tpe: TokenType, value: AnyRef)(sourceLocation: SourceLocation)
Value Members
- def copy(text: String = text, tpe: TokenType = tpe, value: AnyRef = value): Token
-
def
end: Int
- Definition Classes
- SourceLocatable
-
def
filename: String
- Definition Classes
- SourceLocatable
- def refine(newPrim: Instruction, text: String = text, tpe: TokenType = tpe): Token
-
val
sourceLocation: SourceLocation
- Definition Classes
- Token → SourceLocatable
-
def
start: Int
- Definition Classes
- SourceLocatable
- val text: String
- val tpe: TokenType
- val value: AnyRef