Skip to content

Commit

Permalink
Regenerate with Antlr
Browse files Browse the repository at this point in the history
  • Loading branch information
Famlam committed Nov 19, 2023
1 parent d17b85d commit 59fa605
Show file tree
Hide file tree
Showing 7 changed files with 1,212 additions and 686 deletions.
15 changes: 14 additions & 1 deletion mapcss/generated/MapCSS.interp

Large diffs are not rendered by default.

114 changes: 59 additions & 55 deletions mapcss/generated/MapCSS.tokens
Original file line number Diff line number Diff line change
Expand Up @@ -32,55 +32,59 @@ OP_MINUS=31
OP_NOT=32
SET=33
IMPORT=34
NCOMPONENT=35
LBRACKET=36
RBRACKET=37
LBRACE=38
RBRACE=39
COLON=40
SEMICOLON=41
DQUOTED_STRING=42
SQUOTED_STRING=43
POSITIVE_INT=44
NEGATIVE_INT=45
POSITIVE_FLOAT=46
NEGATIVE_FLOAT=47
RANGE=48
REGEXP=49
WS=50
SL_COMMENT=51
ML_COMMENT=52
STYLESHEET=53
RULE=54
SIMPLE_SELECTOR=55
DESCENDANT_COMBINATOR=56
CHILD_COMBINATOR=57
PARENT_COMBINATOR=58
TYPE_SELECTOR=59
ZOOM_SELECTOR=60
ATTRIBUTE_SELECTOR=61
CLASS_SELECTOR=62
PSEUDO_CLASS_SELECTOR=63
LAYER_ID_SELECTOR=64
DECLARATION_BLOCK=65
DECLARATION=66
VALUE_RGB=67
VALUE_RGBA=68
VALUE_URL=69
VALUE_KEYWORD=70
VALUE_QUOTED=71
VALUE_FLOAT=72
VALUE_INT=73
VALUE_PERCENTAGE=74
VALUE_POINTS=75
VALUE_PIXELS=76
VALUE_LIST=77
VALUE_REGEXP=78
VALUE_INCREMENT=79
FUNCTION_CALL=80
PREDICATE=81
TR_CALL=82
EVAL_CALL=83
SUPPORTS=35
SUPPORTS_NOT=36
SUPPORTS_AND=37
SUPPORTS_OR=38
NCOMPONENT=39
LBRACKET=40
RBRACKET=41
LBRACE=42
RBRACE=43
COLON=44
SEMICOLON=45
DQUOTED_STRING=46
SQUOTED_STRING=47
POSITIVE_INT=48
NEGATIVE_INT=49
POSITIVE_FLOAT=50
NEGATIVE_FLOAT=51
RANGE=52
REGEXP=53
WS=54
SL_COMMENT=55
ML_COMMENT=56
STYLESHEET=57
RULE=58
SIMPLE_SELECTOR=59
DESCENDANT_COMBINATOR=60
CHILD_COMBINATOR=61
PARENT_COMBINATOR=62
TYPE_SELECTOR=63
ZOOM_SELECTOR=64
ATTRIBUTE_SELECTOR=65
CLASS_SELECTOR=66
PSEUDO_CLASS_SELECTOR=67
LAYER_ID_SELECTOR=68
DECLARATION_BLOCK=69
DECLARATION=70
VALUE_RGB=71
VALUE_RGBA=72
VALUE_URL=73
VALUE_KEYWORD=74
VALUE_QUOTED=75
VALUE_FLOAT=76
VALUE_INT=77
VALUE_PERCENTAGE=78
VALUE_POINTS=79
VALUE_PIXELS=80
VALUE_LIST=81
VALUE_REGEXP=82
VALUE_INCREMENT=83
FUNCTION_CALL=84
PREDICATE=85
TR_CALL=86
EVAL_CALL=87
','=1
'?'=2
'?!'=3
Expand Down Expand Up @@ -112,9 +116,9 @@ EVAL_CALL=83
'+'=30
'-'=31
'!'=32
'['=36
']'=37
'{'=38
'}'=39
':'=40
';'=41
'['=40
']'=41
'{'=42
'}'=43
':'=44
';'=45
14 changes: 13 additions & 1 deletion mapcss/generated/MapCSSLexer.interp

Large diffs are not rendered by default.

359 changes: 189 additions & 170 deletions mapcss/generated/MapCSSLexer.py

Large diffs are not rendered by default.

52 changes: 28 additions & 24 deletions mapcss/generated/MapCSSLexer.tokens
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,28 @@ OP_MINUS=31
OP_NOT=32
SET=33
IMPORT=34
NCOMPONENT=35
LBRACKET=36
RBRACKET=37
LBRACE=38
RBRACE=39
COLON=40
SEMICOLON=41
DQUOTED_STRING=42
SQUOTED_STRING=43
POSITIVE_INT=44
NEGATIVE_INT=45
POSITIVE_FLOAT=46
NEGATIVE_FLOAT=47
RANGE=48
REGEXP=49
WS=50
SL_COMMENT=51
ML_COMMENT=52
SUPPORTS=35
SUPPORTS_NOT=36
SUPPORTS_AND=37
SUPPORTS_OR=38
NCOMPONENT=39
LBRACKET=40
RBRACKET=41
LBRACE=42
RBRACE=43
COLON=44
SEMICOLON=45
DQUOTED_STRING=46
SQUOTED_STRING=47
POSITIVE_INT=48
NEGATIVE_INT=49
POSITIVE_FLOAT=50
NEGATIVE_FLOAT=51
RANGE=52
REGEXP=53
WS=54
SL_COMMENT=55
ML_COMMENT=56
','=1
'?'=2
'?!'=3
Expand Down Expand Up @@ -81,9 +85,9 @@ ML_COMMENT=52
'+'=30
'-'=31
'!'=32
'['=36
']'=37
'{'=38
'}'=39
':'=40
';'=41
'['=40
']'=41
'{'=42
'}'=43
':'=44
';'=45
45 changes: 45 additions & 0 deletions mapcss/generated/MapCSSListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,51 @@ def exitSingle_value(self, ctx:MapCSSParser.Single_valueContext):
pass


# Enter a parse tree produced by MapCSSParser#supports_block.
def enterSupports_block(self, ctx:MapCSSParser.Supports_blockContext):
pass

# Exit a parse tree produced by MapCSSParser#supports_block.
def exitSupports_block(self, ctx:MapCSSParser.Supports_blockContext):
pass


# Enter a parse tree produced by MapCSSParser#supports_rule.
def enterSupports_rule(self, ctx:MapCSSParser.Supports_ruleContext):
pass

# Exit a parse tree produced by MapCSSParser#supports_rule.
def exitSupports_rule(self, ctx:MapCSSParser.Supports_ruleContext):
pass


# Enter a parse tree produced by MapCSSParser#supports_condition.
def enterSupports_condition(self, ctx:MapCSSParser.Supports_conditionContext):
pass

# Exit a parse tree produced by MapCSSParser#supports_condition.
def exitSupports_condition(self, ctx:MapCSSParser.Supports_conditionContext):
pass


# Enter a parse tree produced by MapCSSParser#supports_in_parens.
def enterSupports_in_parens(self, ctx:MapCSSParser.Supports_in_parensContext):
pass

# Exit a parse tree produced by MapCSSParser#supports_in_parens.
def exitSupports_in_parens(self, ctx:MapCSSParser.Supports_in_parensContext):
pass


# Enter a parse tree produced by MapCSSParser#supports_declaration.
def enterSupports_declaration(self, ctx:MapCSSParser.Supports_declarationContext):
pass

# Exit a parse tree produced by MapCSSParser#supports_declaration.
def exitSupports_declaration(self, ctx:MapCSSParser.Supports_declarationContext):
pass


# Enter a parse tree produced by MapCSSParser#booleanOperator.
def enterBooleanOperator(self, ctx:MapCSSParser.BooleanOperatorContext):
pass
Expand Down
Loading

0 comments on commit 59fa605

Please sign in to comment.