crayon-syntax-highlighter/langs/dws/dws.txt
2019-08-30 19:30:19 +02:00

19 lines
675 B
Plaintext

### DWS LANGUAGE ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME DelphiWebScript/DWS
VERSION 1.0.0
PREPROCESSOR \{\$[a-zA-Z][\s\S]*?}
COMMENT {(?!\$)[\s\S]*?}|\(\*[\s\S]*?\*\)|//[\s\S]*?$
STRING (?default)|#[0-9]+\b
RESERVED (?default)|\b(?alt:keywords.txt)\b
TYPE (?default)|\b(?alt:type.txt)\b
VARIABLE (?default)
IDENTIFIER (?default)
CONSTANT \$[a-zA-Z0-9]+\b|\b[\d\.]+\b|(?default)
OPERATOR \b(?alt:operator.txt)\b
SYMBOL (?default)