UNDERSCORE

An underscore indicates where a subexpression should be parsed.

  • If unadorned, an Argument is created, which expects an expression that yields something other than ⊤ or ⊥.

  • If followed by an EXCLAMATION_MARK (!), an ArgumentForMacroOnly is constructed. This allows expressions that yield ⊤ or ⊥, which are only permitted in macros.

  • If followed by a SINGLE_DAGGER (†), the expression must not attempt to use any variables in the current scope. The expression will be evaluated at compile time, and wrapped in a literal phrase.

  • If followed by a UP_ARROW (↑), a variable use phrase must be supplied, which is converted into a reference phrase.

Properties

Link copied to clipboard
val codepoint: Int

The sole codepoint (Int) of this Metacharacter instance.

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

The Avail A_String denoting this metacharacter.