class

SyntaxType

@Serializable { simple=true }
const class SyntaxType : Enum

SyntaxType models a syntax specific segment type such keyword or comment

constructors fromStr

Return the SyntaxType instance for the specified name

fields bracket

Bracket such as {, }, (, ), [, or ]

comment

Comment section either to end of line or multi-line block

keyword

Language specific keyword

literal

String literal

text

Normal text

vals

List of SyntaxType values indexed by ordinal

bracket const static SyntaxType : bracket

Bracket such as {, }, (, ), [, or ]

comment const static SyntaxType : comment

Comment section either to end of line or multi-line block

fromStr static new fromStr(Str name, Bool checked := true)

Return the SyntaxType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

keyword const static SyntaxType : keyword

Language specific keyword

literal const static SyntaxType : literal

String literal

text const static SyntaxType : text

Normal text

vals const static SyntaxType[] : vals

List of SyntaxType values indexed by ordinal

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT