SyntaxType
@Serializable { simple=true }
const class SyntaxType : Enum
SyntaxType models a syntax specific segment type such keyword or comment
Return the SyntaxType instance for the specified name
List of SyntaxType values indexed by ordinal
Bracket such as {, }, (, ), [, or ]
Comment section either to end of line or multi-line block
Normal text
Language specific keyword
String literal
const static SyntaxType : bracket
Bracket such as {, }, (, ), [, or ]
const static SyntaxType : comment
Comment section either to end of line or multi-line block
static new fromStr(Str name, Bool checked)
Return the SyntaxType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
const static SyntaxType : keyword
Language specific keyword
const static SyntaxType : literal
String literal
const static SyntaxType : text
Normal text
const static SyntaxType[] : vals
List of SyntaxType values indexed by ordinal