ELLIPSIS

An ellipsis (…) indicates that a single token should be consumed from the Avail source code (tokens are produced from the actual file content via A_Lexers). There are a few variants:

  • If left unadorned, it creates a RawKeywordTokenArgument, which matches a single A_Token of kind TokenType.KEYWORD.

  • If followed by an OCTOTHORP (#), it creates a RawTokenArgument, which matches a single A_Token of kind TokenType.LITERAL.

  • If followed by an EXCLAMATION_MARK (!), it creates a RawTokenArgument, which matches a single A_Token of any kind except TokenType.WHITESPACE or TokenType.COMMENT.

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.