METHOD_NAME

The code establishing a method name, or identifying the structure of a method call within a string literal used as part of a method name (i.e. method name metacharacters). In Avail code, methods may be named using any string- or atom-valued expression. In practice, it would make little sense to style an expression or block used to calculate a method name in a special way just because it is used inline in a method definition, so for the purposes of styling, only string literals, atom literals, atom creation sends that embed a string literal, and uses of single string or atom variables or constants will be classified this way. When a lexical element is classified as a METHOD_NAME, that style is applied to all characters that are outside the string literal AND all method name metacharacters that are inside the string literal, including the meta-escape-character ` but not the characters being escaped.

Properties

Link copied to clipboard
val kotlinString: String
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val string: AvailObject

The Avail A_String version of the kotlinString.