Package-level declarations
Types
The P_BootstrapBlockMacroStyler primitive is used for bootstrapping the styling of block syntax, which Avail code uses to produce functions.
Primitive: Apply bootstrap styling to a phrase responsible for special object binding.
Primitive: Apply bootstrap styling to a phrase responsible for some sort of A_Definition.
Primitive: Apply bootstrap styling to a phrase responsible for defining grammatical restrictions. Scan the arguments recursively for string literals and assume that they're all method names. Even if they end up just being fragments of constructed method names, the coloring will still be useful.
Primitive: Apply bootstrap styling to a slash-star...star-slash comment.
Primitive: Apply the bootstrap string literal styler to the specified string token (wrapped up as a literal by the lexer styling mechanism).
Primitive: Apply bootstrap styling to a phrase responsible for some sort of statement.
Primitive: Apply styles for the given phrase and variables holding maps. This is the bootstrap default behavior for styling, which only has effect if a method/macro send has no styler, and the default styler has not been explicitly set.
Primitive: The P_ModuleHeaderPseudoMacroStyler primitive applies styling to a module header parsed with P_ModuleHeaderPseudoMacro.
Primitive: Apply bootstrap styling to a phrase responsible for special object access.
Primitive: Apply the given style name to all fixed tokens of the given phrase. If the "overwrite" argument is true, the style for that region is replaced, otherwise the style name is appended (with a separating ",") to the existing style name. If the "overwrite" argument is true, but the style name is the empty string, clear all styles for that range. This facility is provided as a primitive to provide early utility in the standard library, i.e., before standard control structures are readily available.
Primitive: Apply the bootstrap method name styler to the specified string literal.
Primitive: Apply the given style name to the region of the file bounded by the given phrase. This includes whitespace and comments, as well as the subphrases and tokens within this phrase. If the "overwrite" argument is true, the style for that region is replaced, otherwise the style name is appended (with a separating ",") to the existing style name. If the "overwrite" argument is true, but the style name is the empty string, clear all styles for that range.
Primitive: Apply the given style name to the region of the file being compiled designated by the given token. The token may be synthetic, and/or include whitespace or comments. If the "overwrite" argument is true, the style for that region is replaced, otherwise the style name is appended (with a separating ",") to the existing style name. If the "overwrite" argument is true, but the style name is the empty string, clear all styles for that range.