Class MapCSSParser
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.MapCSSParser
-
- All Implemented Interfaces:
MapCSSParserConstants
public class MapCSSParser extends java.lang.Object implements MapCSSParserConstants
MapCSS parser. Contains two independent grammars: (a) the preprocessor and (b) the main mapcss parser. The preprocessor handles @supports syntax. Basically this allows to write one style for different versions of JOSM (or different editors). When the @supports condition is not fulfilled, it should simply skip over the whole section and not attempt to parse the possibly unknown grammar. It preserves whitespace and comments, in order to keep the line and column numbers in the error messages correct for the second pass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
MapCSSParser.JJCalls
static class
MapCSSParser.LexicalState
Nicer way to refer to a lexical state.private static class
MapCSSParser.LookaheadSuccess
-
Field Summary
Fields Modifier and Type Field Description (package private) int
declarationCounter
private MapCSSParser.JJCalls[]
jj_2_rtns
private int
jj_endpos
private java.util.List
jj_expentries
private int[]
jj_expentry
private int
jj_gc
private int
jj_gen
(package private) SimpleCharStream
jj_input_stream
private int
jj_kind
private int
jj_la
private int[]
jj_la1
private static int[]
jj_la1_0
private static int[]
jj_la1_1
private Token
jj_lastpos
private int[]
jj_lasttokens
private static MapCSSParser.LookaheadSuccess
jj_ls
Token
jj_nt
Next token.private int
jj_ntk
private boolean
jj_rescan
private Token
jj_scanpos
(package private) java.lang.StringBuilder
sb
(package private) MapCSSStyleSource
sheet
Token
token
Current token.MapCSSParserTokenManager
token_source
Generated Token Manager.private boolean
trace_enabled
-
Fields inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.MapCSSParserConstants
AMPERSAND, CARET, COLON, COMMA, COMMENT, COMMENT_END, COMMENT_START, CROSSING, DCOLON, DEFAULT, DEG, DOLLAR, EOF, EQUAL, EXCLAMATION, FULLSTOP, GREATER, GREATER_EQUAL, H, HEXCOLOR, IDENT, LBRACE, LESS, LESS_EQUAL, LPAR, LSQUARE, MINUS, NOT_SUBSET_OR_EQUAL, NOT_SUPERSET_OR_EQUAL, PERCENT, PIPE, PIPE_Z, PLUS, PP_AND, PP_COMMENT, PP_COMMENT_END, PP_COMMENT_START, PP_NEWLINECHAR, PP_NOT, PP_OR, PP_SOMETHING_ELSE, PP_SUPPORTS, PP_WHITESPACE, PREDEFINED, PREPROCESSOR, QUESTION, RBRACE, REGEX, REGEX_CHAR_WITHOUT_STAR, RPAR, RSQUARE, S, SEMICOLON, SET, SLASH, STAR, STRING, SUBSET_OR_EQUAL, SUPERSET_OR_EQUAL, TILDE, tokenImage, UFLOAT, UINT, UNEXPECTED_CHAR
-
-
Constructor Summary
Constructors Constructor Description MapCSSParser(java.io.InputStream stream)
Constructor with InputStream.MapCSSParser(java.io.InputStream stream, java.lang.String encoding)
Constructor with InputStream and supplied encodingMapCSSParser(java.io.InputStream in, java.lang.String encoding, MapCSSParser.LexicalState initState)
Deprecated.MapCSSParser(java.io.Reader stream)
Constructor.MapCSSParser(java.io.Reader in, MapCSSParser.LexicalState initState)
Constructor which initializes the parser with a certain lexical state.MapCSSParser(MapCSSParserTokenManager tm)
Constructor with generated Token Manager.
-
Method Summary
-
-
-
Field Detail
-
sheet
MapCSSStyleSource sheet
-
sb
java.lang.StringBuilder sb
-
declarationCounter
int declarationCounter
-
token_source
public MapCSSParserTokenManager token_source
Generated Token Manager.
-
jj_input_stream
SimpleCharStream jj_input_stream
-
jj_ntk
private int jj_ntk
-
jj_scanpos
private Token jj_scanpos
-
jj_lastpos
private Token jj_lastpos
-
jj_la
private int jj_la
-
jj_gen
private int jj_gen
-
jj_la1
private final int[] jj_la1
-
jj_la1_0
private static int[] jj_la1_0
-
jj_la1_1
private static int[] jj_la1_1
-
jj_2_rtns
private final MapCSSParser.JJCalls[] jj_2_rtns
-
jj_rescan
private boolean jj_rescan
-
jj_gc
private int jj_gc
-
jj_ls
private static final MapCSSParser.LookaheadSuccess jj_ls
-
jj_expentries
private java.util.List jj_expentries
-
jj_expentry
private int[] jj_expentry
-
jj_kind
private int jj_kind
-
jj_lasttokens
private int[] jj_lasttokens
-
jj_endpos
private int jj_endpos
-
trace_enabled
private boolean trace_enabled
-
-
Constructor Detail
-
MapCSSParser
@Deprecated public MapCSSParser(java.io.InputStream in, java.lang.String encoding, MapCSSParser.LexicalState initState)
Deprecated.Constructor which initializes the parser with a certain lexical state.- Parameters:
in
- inputencoding
- contents encodinginitState
- initial state
-
MapCSSParser
public MapCSSParser(java.io.Reader in, MapCSSParser.LexicalState initState)
Constructor which initializes the parser with a certain lexical state.- Parameters:
in
- inputinitState
- initial state
-
MapCSSParser
public MapCSSParser(java.io.InputStream stream)
Constructor with InputStream.
-
MapCSSParser
public MapCSSParser(java.io.InputStream stream, java.lang.String encoding)
Constructor with InputStream and supplied encoding
-
MapCSSParser
public MapCSSParser(java.io.Reader stream)
Constructor.
-
MapCSSParser
public MapCSSParser(MapCSSParserTokenManager tm)
Constructor with generated Token Manager.
-
-
Method Detail
-
createTokenManager
@Deprecated protected static MapCSSParserTokenManager createTokenManager(java.io.InputStream in, java.lang.String encoding, MapCSSParser.LexicalState initState)
Deprecated.
-
createTokenManager
protected static MapCSSParserTokenManager createTokenManager(java.io.Reader in, MapCSSParser.LexicalState initState)
-
pp_root
public final java.lang.String pp_root(MapCSSStyleSource sheet) throws ParseException
root method for the preprocessor.- Parameters:
sheet
- MapCSS style source- Returns:
- result string
- Throws:
ParseException
- in case of parsing error
-
pp_black_box
public final void pp_black_box(boolean write) throws ParseException
Parse any unknown grammar (black box). Only stop when "@media" is encountered and keep track of correct number of opening and closing curly brackets.- Parameters:
write
- false if this content should be skipped (@pp_media condition is not fulfilled), true otherwise- Throws:
ParseException
- in case of parsing error
-
pp_supports
public final void pp_supports(boolean ignore) throws ParseException
Parses an @supports rule.- Parameters:
ignore
- if the content of this rule should be ignored (because we are already inside a @supports block that didn't pass)- Throws:
ParseException
- in case of parsing error
-
pp_supports_condition
public final boolean pp_supports_condition() throws ParseException
Parses the condition of the @supports rule. Unlike other parsing rules, grabs trailing whitespace.- Returns:
- true, if the condition is fulfilled
- Throws:
ParseException
- in case of parsing error
-
pp_supports_condition_in_parens
public final boolean pp_supports_condition_in_parens() throws ParseException
Parses something in parenthesis inside the condition of the @supports rule.- Returns:
- true, if the condition is fulfilled
- Throws:
ParseException
- in case of parsing error
-
pp_supports_declaration_condition
public final boolean pp_supports_declaration_condition() throws ParseException
Parse an @supports declaration condition, e. g. a single (key:value) or (key) statement. The parsing ruleliteral()
from the main mapcss parser is reused here.- Returns:
- true if the condition is fulfilled
- Throws:
ParseException
- in case of parsing error
-
pp_w1
public final void pp_w1() throws ParseException
- Throws:
ParseException
-
pp_w
public final void pp_w() throws ParseException
- Throws:
ParseException
-
uint
public final int uint() throws ParseException
- Throws:
ParseException
-
int_
public final int int_() throws ParseException
- Throws:
ParseException
-
ufloat
public final float ufloat() throws ParseException
- Throws:
ParseException
-
float_
public final float float_() throws ParseException
- Throws:
ParseException
-
string
public final java.lang.String string() throws ParseException
- Throws:
ParseException
-
ident
public final java.lang.String ident() throws ParseException
- Throws:
ParseException
-
string_or_ident
public final java.lang.String string_or_ident() throws ParseException
- Throws:
ParseException
-
regex
public final java.lang.String regex() throws ParseException
- Throws:
ParseException
-
s
public final void s() throws ParseException
white-space- Throws:
ParseException
- in case of parsing error
-
w
public final void w() throws ParseException
mix of white-space and comments- Throws:
ParseException
- in case of parsing error
-
float_array
public final java.util.List<java.lang.Float> float_array() throws ParseException
comma delimited list of floats (at least 2, all >= 0)- Returns:
- list of floats
- Throws:
ParseException
- in case of parsing error
-
sheet
public final void sheet(MapCSSStyleSource sheet) throws ParseException
entry point for the main parser- Parameters:
sheet
- MapCSS style source- Throws:
ParseException
- in case of parsing error
-
rule
public final void rule() throws ParseException
- Throws:
ParseException
-
selectors_for_search
public final java.util.List<Selector> selectors_for_search() throws ParseException
Read selectors, make sure that we read all tokens See #17746- Throws:
ParseException
-
selectors
public final java.util.List<Selector> selectors() throws ParseException
- Throws:
ParseException
-
child_selector
public final Selector child_selector() throws ParseException
- Throws:
ParseException
-
selector
public final Selector selector() throws ParseException
- Throws:
ParseException
-
zoom
public final Range zoom() throws ParseException
- Throws:
ParseException
-
condition
public final Condition condition(Condition.Context context) throws ParseException
- Throws:
ParseException
-
tag_key
public final java.lang.String tag_key() throws ParseException
- Throws:
ParseException
-
simple_key_condition
public final Condition simple_key_condition(Condition.Context context) throws ParseException
- Throws:
ParseException
-
simple_key_value_condition
public final Condition simple_key_value_condition(Condition.Context context) throws ParseException
- Throws:
ParseException
-
class_or_pseudoclass
public final Condition class_or_pseudoclass(Condition.Context context) throws ParseException
- Throws:
ParseException
-
subpart
public final Subpart subpart() throws ParseException
- Throws:
ParseException
-
declaration
public final Declaration declaration() throws ParseException
- Throws:
ParseException
-
expression
public final Expression expression() throws ParseException
General expression. Separate production rule for each level of operator precedence (recursive descent).- Throws:
ParseException
-
conditional_expression
public final Expression conditional_expression() throws ParseException
- Throws:
ParseException
-
or_expression
public final Expression or_expression() throws ParseException
- Throws:
ParseException
-
and_expression
public final Expression and_expression() throws ParseException
- Throws:
ParseException
-
relational_expression
public final Expression relational_expression() throws ParseException
- Throws:
ParseException
-
additive_expression
public final Expression additive_expression() throws ParseException
- Throws:
ParseException
-
multiplicative_expression
public final Expression multiplicative_expression() throws ParseException
- Throws:
ParseException
-
unary_expression
public final Expression unary_expression() throws ParseException
- Throws:
ParseException
-
primary
public final Expression primary() throws ParseException
- Throws:
ParseException
-
function
public final Expression function() throws ParseException
- Throws:
ParseException
-
literal
public final java.lang.Object literal() throws ParseException
- Throws:
ParseException
-
ufloat_unit
public final java.lang.Float ufloat_unit() throws ParseException
Number followed by a unit. Returns angles in radians and lengths in pixels.- Throws:
ParseException
-
unit_factor
private java.lang.Double unit_factor(java.lang.String unit) throws ParseException
- Throws:
ParseException
-
error_skipto
void error_skipto(int kind, MapCSSException me) throws ParseException
- Throws:
ParseException
-
readRaw
java.lang.String readRaw() throws ParseException
read everything to the next semicolon- Throws:
ParseException
-
jj_2_1
private boolean jj_2_1(int xla)
-
jj_2_2
private boolean jj_2_2(int xla)
-
jj_2_3
private boolean jj_2_3(int xla)
-
jj_2_4
private boolean jj_2_4(int xla)
-
jj_2_5
private boolean jj_2_5(int xla)
-
jj_2_6
private boolean jj_2_6(int xla)
-
jj_2_7
private boolean jj_2_7(int xla)
-
jj_2_8
private boolean jj_2_8(int xla)
-
jj_2_9
private boolean jj_2_9(int xla)
-
jj_2_10
private boolean jj_2_10(int xla)
-
jj_2_11
private boolean jj_2_11(int xla)
-
jj_2_12
private boolean jj_2_12(int xla)
-
jj_2_13
private boolean jj_2_13(int xla)
-
jj_2_14
private boolean jj_2_14(int xla)
-
jj_3R_and_expression_943_9_105
private boolean jj_3R_and_expression_943_9_105()
-
jj_3R_ufloat_unit_1123_18_55
private boolean jj_3R_ufloat_unit_1123_18_55()
-
jj_3_3
private boolean jj_3_3()
-
jj_3R_and_expression_941_5_96
private boolean jj_3R_and_expression_941_5_96()
-
jj_3_9
private boolean jj_3_9()
-
jj_3R_simple_key_value_condition_743_9_45
private boolean jj_3R_simple_key_value_condition_743_9_45()
-
jj_3R_pp_supports_condition_in_parens_360_9_37
private boolean jj_3R_pp_supports_condition_in_parens_360_9_37()
-
jj_3R_simple_key_value_condition_741_9_44
private boolean jj_3R_simple_key_value_condition_741_9_44()
-
jj_3R_pp_supports_condition_in_parens_357_9_36
private boolean jj_3R_pp_supports_condition_in_parens_357_9_36()
-
jj_3R_ufloat_unit_1123_5_35
private boolean jj_3R_ufloat_unit_1123_5_35()
-
jj_3R_simple_key_value_condition_740_5_24
private boolean jj_3R_simple_key_value_condition_740_5_24()
-
jj_3R_simple_key_condition_725_20_43
private boolean jj_3R_simple_key_condition_725_20_43()
-
jj_3R_pp_supports_condition_in_parens_356_5_18
private boolean jj_3R_pp_supports_condition_in_parens_356_5_18()
-
jj_3R_or_expression_924_9_97
private boolean jj_3R_or_expression_924_9_97()
-
jj_3_2
private boolean jj_3_2()
-
jj_3R_literal_1109_9_90
private boolean jj_3R_literal_1109_9_90()
-
jj_3R_or_expression_922_5_77
private boolean jj_3R_or_expression_922_5_77()
-
jj_3R_literal_1107_9_89
private boolean jj_3R_literal_1107_9_89()
-
jj_3R_float_array_534_9_51
private boolean jj_3R_float_array_534_9_51()
-
jj_3_1
private boolean jj_3_1()
-
jj_3R_pp_supports_condition_338_11_99
private boolean jj_3R_pp_supports_condition_338_11_99()
-
jj_3R_pp_supports_condition_340_9_82
private boolean jj_3R_pp_supports_condition_340_9_82()
-
jj_3_7
private boolean jj_3_7()
-
jj_3R_simple_key_condition_722_9_42
private boolean jj_3R_simple_key_condition_722_9_42()
-
jj_3_14
private boolean jj_3_14()
-
jj_3R_tag_key_708_21_101
private boolean jj_3R_tag_key_708_21_101()
-
jj_3R_literal_1102_9_88
private boolean jj_3R_literal_1102_9_88()
-
jj_3R_simple_key_condition_720_9_41
private boolean jj_3R_simple_key_condition_720_9_41()
-
jj_3R_float_array_532_5_30
private boolean jj_3R_float_array_532_5_30()
-
jj_3R_pp_supports_condition_334_11_98
private boolean jj_3R_pp_supports_condition_334_11_98()
-
jj_3R_literal_1100_9_87
private boolean jj_3R_literal_1100_9_87()
-
jj_3R_pp_supports_condition_336_9_81
private boolean jj_3R_pp_supports_condition_336_9_81()
-
jj_3R_literal_1098_9_86
private boolean jj_3R_literal_1098_9_86()
-
jj_3R_simple_key_condition_718_7_40
private boolean jj_3R_simple_key_condition_718_7_40()
-
jj_3R_pp_supports_condition_332_9_80
private boolean jj_3R_pp_supports_condition_332_9_80()
-
jj_3R_simple_key_condition_718_5_22
private boolean jj_3R_simple_key_condition_718_5_22()
-
jj_3R_w_518_13_76
private boolean jj_3R_w_518_13_76()
-
jj_3R_pp_supports_condition_330_9_79
private boolean jj_3R_pp_supports_condition_330_9_79()
-
jj_3R_conditional_expression_903_9_78
private boolean jj_3R_conditional_expression_903_9_78()
-
jj_3R_tag_key_708_9_92
private boolean jj_3R_tag_key_708_9_92()
-
jj_3R_pp_supports_condition_329_5_58
private boolean jj_3R_pp_supports_condition_329_5_58()
-
jj_3R_w_518_7_52
private boolean jj_3R_w_518_7_52()
-
jj_3_13
private boolean jj_3_13()
-
jj_3R_literal_1089_9_60
private boolean jj_3R_literal_1089_9_60()
-
jj_3R_tag_key_706_9_91
private boolean jj_3R_tag_key_706_9_91()
-
jj_3R_tag_key_706_9_61
private boolean jj_3R_tag_key_706_9_61()
-
jj_3R_conditional_expression_901_5_53
private boolean jj_3R_conditional_expression_901_5_53()
-
jj_3R_w_518_5_31
private boolean jj_3R_w_518_5_31()
-
jj_3_6
private boolean jj_3_6()
-
jj_3_5
private boolean jj_3_5()
-
jj_3R_function_1076_11_128
private boolean jj_3R_function_1076_11_128()
-
jj_3R_s_507_5_23
private boolean jj_3R_s_507_5_23()
-
jj_3R_expression_889_5_32
private boolean jj_3R_expression_889_5_32()
-
jj_3R_function_1075_9_54
private boolean jj_3R_function_1075_9_54()
-
jj_3_11
private boolean jj_3_11()
-
jj_3R_string_or_ident_487_19_103
private boolean jj_3R_string_or_ident_487_19_103()
-
jj_3_10
private boolean jj_3_10()
-
jj_3R_function_1072_5_33
private boolean jj_3R_function_1072_5_33()
-
jj_3R_float__460_41_95
private boolean jj_3R_float__460_41_95()
-
jj_3R_regex_495_5_29
private boolean jj_3R_regex_495_5_29()
-
jj_3R_primary_1062_9_127
private boolean jj_3R_primary_1062_9_127()
-
jj_3R_string_or_ident_487_7_102
private boolean jj_3R_string_or_ident_487_7_102()
-
jj_3R_string_or_ident_487_5_93
private boolean jj_3R_string_or_ident_487_5_93()
-
jj_3_4
private boolean jj_3_4()
-
jj_3R_primary_1052_9_126
private boolean jj_3R_primary_1052_9_126()
-
jj_3R_ident_478_5_34
private boolean jj_3R_ident_478_5_34()
-
jj_3R_int__443_39_49
private boolean jj_3R_int__443_39_49()
-
jj_3R_primary_1049_5_121
private boolean jj_3R_primary_1049_5_121()
-
jj_3_12
private boolean jj_3_12()
-
jj_3R_multiplicative_expression_1012_38_123
private boolean jj_3R_multiplicative_expression_1012_38_123()
-
jj_3R_string_468_5_100
private boolean jj_3R_string_468_5_100()
-
jj_3R_unary_expression_1032_9_125
private boolean jj_3R_unary_expression_1032_9_125()
-
jj_3R_unary_expression_1030_9_124
private boolean jj_3R_unary_expression_1030_9_124()
-
jj_3R_unary_expression_1030_9_120
private boolean jj_3R_unary_expression_1030_9_120()
-
jj_3R_float__460_5_94
private boolean jj_3R_float__460_5_94()
-
jj_3R_float__460_5_75
private boolean jj_3R_float__460_5_75()
-
jj_3R_unary_expression_1029_5_116
private boolean jj_3R_unary_expression_1029_5_116()
-
jj_3R_additive_expression_993_37_119
private boolean jj_3R_additive_expression_993_37_119()
-
jj_3R_ufloat_451_5_50
private boolean jj_3R_ufloat_451_5_50()
-
jj_3R_multiplicative_expression_1012_11_122
private boolean jj_3R_multiplicative_expression_1012_11_122()
-
jj_3R_multiplicative_expression_1012_9_117
private boolean jj_3R_multiplicative_expression_1012_9_117()
-
jj_3R_int__443_5_25
private boolean jj_3R_int__443_5_25()
-
jj_3R_int__443_5_48
private boolean jj_3R_int__443_5_48()
-
jj_3R_multiplicative_expression_1010_5_108
private boolean jj_3R_multiplicative_expression_1010_5_108()
-
jj_3R_pp_supports_declaration_condition_380_61_39
private boolean jj_3R_pp_supports_declaration_condition_380_61_39()
-
jj_3R_uint_435_5_21
private boolean jj_3R_uint_435_5_21()
-
jj_3R_additive_expression_993_11_118
private boolean jj_3R_additive_expression_993_11_118()
-
jj_3R_additive_expression_993_9_109
private boolean jj_3R_additive_expression_993_9_109()
-
jj_3R_simple_key_value_condition_787_21_74
private boolean jj_3R_simple_key_value_condition_787_21_74()
-
jj_3R_simple_key_value_condition_785_21_73
private boolean jj_3R_simple_key_value_condition_785_21_73()
-
jj_3R_additive_expression_991_5_106
private boolean jj_3R_additive_expression_991_5_106()
-
jj_3R_simple_key_value_condition_783_21_72
private boolean jj_3R_simple_key_value_condition_783_21_72()
-
jj_3R_simple_key_value_condition_777_25_70
private boolean jj_3R_simple_key_value_condition_777_25_70()
-
jj_3R_simple_key_value_condition_781_21_71
private boolean jj_3R_simple_key_value_condition_781_21_71()
-
jj_3R_simple_key_value_condition_775_25_69
private boolean jj_3R_simple_key_value_condition_775_25_69()
-
jj_3R_relational_expression_973_13_115
private boolean jj_3R_relational_expression_973_13_115()
-
jj_3R_relational_expression_971_13_114
private boolean jj_3R_relational_expression_971_13_114()
-
jj_3R_simple_key_value_condition_780_13_47
private boolean jj_3R_simple_key_value_condition_780_13_47()
-
jj_3R_ufloat_unit_1123_51_57
private boolean jj_3R_ufloat_unit_1123_51_57()
-
jj_3R_relational_expression_969_13_113
private boolean jj_3R_relational_expression_969_13_113()
-
jj_3R_relational_expression_967_13_112
private boolean jj_3R_relational_expression_967_13_112()
-
jj_3_8
private boolean jj_3_8()
-
jj_3R_simple_key_value_condition_767_21_67
private boolean jj_3R_simple_key_value_condition_767_21_67()
-
jj_3R_relational_expression_965_13_111
private boolean jj_3R_relational_expression_965_13_111()
-
jj_3R_pp_w_400_4_38
private boolean jj_3R_pp_w_400_4_38()
-
jj_3R_simple_key_value_condition_765_21_66
private boolean jj_3R_simple_key_value_condition_765_21_66()
-
jj_3R_relational_expression_963_13_110
private boolean jj_3R_relational_expression_963_13_110()
-
jj_3R_simple_key_value_condition_770_15_68
private boolean jj_3R_simple_key_value_condition_770_15_68()
-
jj_3R_pp_w_400_2_19
private boolean jj_3R_pp_w_400_2_19()
-
jj_3R_simple_key_value_condition_763_21_65
private boolean jj_3R_simple_key_value_condition_763_21_65()
-
jj_3R_simple_key_value_condition_761_21_64
private boolean jj_3R_simple_key_value_condition_761_21_64()
-
jj_3R_relational_expression_962_9_107
private boolean jj_3R_relational_expression_962_9_107()
-
jj_3R_pp_w1_393_5_85
private boolean jj_3R_pp_w1_393_5_85()
-
jj_3R_simple_key_value_condition_759_21_63
private boolean jj_3R_simple_key_value_condition_759_21_63()
-
jj_3R_pp_w1_391_5_84
private boolean jj_3R_pp_w1_391_5_84()
-
jj_3R_simple_key_value_condition_757_21_62
private boolean jj_3R_simple_key_value_condition_757_21_62()
-
jj_3R_pp_w1_389_5_83
private boolean jj_3R_pp_w1_389_5_83()
-
jj_3R_pp_w1_389_5_59
private boolean jj_3R_pp_w1_389_5_59()
-
jj_3R_relational_expression_960_5_104
private boolean jj_3R_relational_expression_960_5_104()
-
jj_3R_simple_key_value_condition_750_21_27
private boolean jj_3R_simple_key_value_condition_750_21_27()
-
jj_3R_ufloat_unit_1123_30_56
private boolean jj_3R_ufloat_unit_1123_30_56()
-
jj_3R_simple_key_value_condition_748_21_26
private boolean jj_3R_simple_key_value_condition_748_21_26()
-
jj_3R_simple_key_value_condition_756_13_46
private boolean jj_3R_simple_key_value_condition_756_13_46()
-
jj_3R_simple_key_value_condition_753_15_28
private boolean jj_3R_simple_key_value_condition_753_15_28()
-
jj_3R_pp_supports_declaration_condition_380_5_20
private boolean jj_3R_pp_supports_declaration_condition_380_5_20()
-
jj_la1_init_0
private static void jj_la1_init_0()
-
jj_la1_init_1
private static void jj_la1_init_1()
-
ReInit
public void ReInit(java.io.InputStream stream)
Reinitialise.
-
ReInit
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
Reinitialise.
-
ReInit
public void ReInit(java.io.Reader stream)
Reinitialise.
-
ReInit
public void ReInit(MapCSSParserTokenManager tm)
Reinitialise.
-
jj_consume_token
private Token jj_consume_token(int kind) throws ParseException
- Throws:
ParseException
-
jj_scan_token
private boolean jj_scan_token(int kind)
-
getNextToken
public final Token getNextToken()
Get the next Token.
-
jj_ntk_f
private int jj_ntk_f()
-
jj_add_error_token
private void jj_add_error_token(int kind, int pos)
-
generateParseException
public ParseException generateParseException()
Generate ParseException.
-
trace_enabled
public final boolean trace_enabled()
Trace enabled.
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
jj_rescan_token
private void jj_rescan_token()
-
jj_save
private void jj_save(int index, int xla)
-
-