android-components / mozilla.components.lib.jexl.lexer / Token

Token

data class Token (source)

A token emitted by the Lexer.

Types

Name Summary
Type enum class Type

Constructors

Name Summary
<init> Token(type: Type, raw: String, value: Any)
A token emitted by the Lexer.

Properties

Name Summary
raw val raw: String
type val type: Type
value val value: Any

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.