PragmaKind

enum PragmaKind : Enum<PragmaKind>

These are the tokens that are understood directly by the Avail compiler.

Author

Todd L Smith

Mark van Gulik

Parameters

lexeme

The Java lexeme string, i.e. the text of the token.

Entries

Link copied to clipboard
PRAGMA_LEXER("lexer")

Module header token: Occurs in a pragma string to define a lexer.

Link copied to clipboard
PRAGMA_STRINGIFY("stringify")

Module header token: Occurs in a pragma string to define the stringification method.

Link copied to clipboard
PRAGMA_MACRO("macro")

Module header token: Occurs in pragma strings to define bootstrap macros.

Link copied to clipboard
PRAGMA_METHOD("method")

Module header token: Occurs in pragma strings to define bootstrap method.

Link copied to clipboard
PRAGMA_CHECK("check")

Module header token: Occurs in pragma strings to assert some quality of the virtual machine.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val lexeme: String

The Java String form of the lexeme.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int