Fan

 

const class

fluxText::SyntaxRules

sys::Obj
  fluxText::SyntaxRules

@serializable

SyntaxRules defines the rules for parsing text for color coding.

Slots

blockCommentEndSource

const Str? blockCommentEnd

End token for multi-line block comments

blockCommentStartSource

const Str? blockCommentStart

Start token for multi-line block comments

blockCommentsNestSource

const Bool blockCommentsNest := false

Can block comments be nested (default is false).

bracketsSource

const Str brackets := "(){}[]"

Bracket characters defaults to "()[]{}".

commentsSource

const Str[]? comments

Start tokens for single line comments to end of line (list of strings).

keywordsSource

const Str[]? keywords

List of the keywords.

makeSource

new make(|SyntaxRules|? f := null)

Default constructor with it-block

strsSource

const SyntaxStr[]? strs

String and character literal styles