finesse.script.tokens module

Regular expressions for matching tokens of different types in kat script.

Any new token types added here should be added to tokenizer.py and highlighter.py as well.

finesse.script.tokens.any(*choices)[source]

Specify that there should be zero or more of the specified choices.

finesse.script.tokens.group(*choices)[source]

Match any of the specified choices.

finesse.script.tokens.maybe(*choices)[source]

Specify that there should be zero or one of the specified choices.