All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openrewrite.json.internal.grammar.JsonPathLexer Maven / Gradle / Ivy

There is a newer version: 8.33.4
Show newest version
/*
 * Copyright 2021 the original author or authors.
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

* https://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Generated from /Users/jon/Projects/github/openrewrite/rewrite/rewrite-json/src/main/antlr/JsonPathLexer.g4 by ANTLR 4.9.2 package org.openrewrite.json.internal.grammar; import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.TokenStream; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime.misc.*; @SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) public class JsonPathLexer extends Lexer { static { RuntimeMetaData.checkVersion("4.9.2", RuntimeMetaData.VERSION); } protected static final DFA[] _decisionToDFA; protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache(); public static final int StringLiteral=1, NumericLiteral=2, AT=3, DOT_DOT=4, DOT=5, ROOT=6, WILDCARD=7, AND=8, EQ=9, NE=10, MATCHES=11, TRUE=12, FALSE=13, NULL=14, LBRACE=15, RBRACE=16, LBRACK=17, RBRACK=18, COLON=19, COMMA=20, LPAREN=21, RPAREN=22, QUESTION=23, Identifier=24, WS=25; public static String[] channelNames = { "DEFAULT_TOKEN_CHANNEL", "HIDDEN" }; public static String[] modeNames = { "DEFAULT_MODE" }; private static String[] makeRuleNames() { return new String[] { "StringLiteral", "EscapeSequence", "UNICODE", "HexDigit", "SAFECODEPOINT", "NumericLiteral", "ExponentPart", "AT", "DOT_DOT", "DOT", "ROOT", "WILDCARD", "AND", "EQ", "NE", "MATCHES", "TRUE", "FALSE", "NULL", "LBRACE", "RBRACE", "LBRACK", "RBRACK", "COLON", "COMMA", "LPAREN", "RPAREN", "QUESTION", "Identifier", "WS" }; } public static final String[] ruleNames = makeRuleNames(); private static String[] makeLiteralNames() { return new String[] { null, null, null, "'@'", "'..'", "'.'", "'$'", "'*'", "'&&'", "'=='", "'!='", "'=~'", "'true'", "'false'", "'null'", "'{'", "'}'", "'['", "']'", "':'", "','", "'('", "')'", "'?'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); private static String[] makeSymbolicNames() { return new String[] { null, "StringLiteral", "NumericLiteral", "AT", "DOT_DOT", "DOT", "ROOT", "WILDCARD", "AND", "EQ", "NE", "MATCHES", "TRUE", "FALSE", "NULL", "LBRACE", "RBRACE", "LBRACK", "RBRACK", "COLON", "COMMA", "LPAREN", "RPAREN", "QUESTION", "Identifier", "WS" }; } private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); /** * @deprecated Use {@link #VOCABULARY} instead. */ @Deprecated public static final String[] tokenNames; static { tokenNames = new String[_SYMBOLIC_NAMES.length]; for (int i = 0; i < tokenNames.length; i++) { tokenNames[i] = VOCABULARY.getLiteralName(i); if (tokenNames[i] == null) { tokenNames[i] = VOCABULARY.getSymbolicName(i); } if (tokenNames[i] == null) { tokenNames[i] = ""; } } } @Override @Deprecated public String[] getTokenNames() { return tokenNames; } @Override public Vocabulary getVocabulary() { return VOCABULARY; } public JsonPathLexer(CharStream input) { super(input); _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); } @Override public String getGrammarFileName() { return "JsonPathLexer.g4"; } @Override public String[] getRuleNames() { return ruleNames; } @Override public String getSerializedATN() { return _serializedATN; } @Override public String[] getChannelNames() { return channelNames; } @Override public String[] getModeNames() { return modeNames; } @Override public ATN getATN() { return _ATN; } public static final String _serializedATN = "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\33\u00cc\b\1\4\2"+ "\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4"+ "\13\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22"+ "\t\22\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31"+ "\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\3\2"+ "\3\2\3\2\7\2C\n\2\f\2\16\2F\13\2\3\2\3\2\3\2\3\2\7\2L\n\2\f\2\16\2O\13"+ "\2\3\2\5\2R\n\2\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3"+ "\3\3\3\3\3\3\3\3\3\5\3f\n\3\3\4\3\4\3\4\3\4\3\4\3\4\3\5\3\5\3\6\3\6\3"+ "\7\5\7s\n\7\3\7\6\7v\n\7\r\7\16\7w\3\7\5\7{\n\7\3\b\3\b\5\b\177\n\b\3"+ "\b\6\b\u0082\n\b\r\b\16\b\u0083\3\t\3\t\3\n\3\n\3\n\3\13\3\13\3\f\3\f"+ "\3\r\3\r\3\16\3\16\3\16\3\17\3\17\3\17\3\20\3\20\3\20\3\21\3\21\3\21\3"+ "\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3"+ "\24\3\24\3\25\3\25\3\26\3\26\3\27\3\27\3\30\3\30\3\31\3\31\3\32\3\32\3"+ "\33\3\33\3\34\3\34\3\35\3\35\3\36\3\36\7\36\u00c1\n\36\f\36\16\36\u00c4"+ "\13\36\3\37\6\37\u00c7\n\37\r\37\16\37\u00c8\3\37\3\37\4DM\2 \3\3\5\2"+ "\7\2\t\2\13\2\r\4\17\2\21\5\23\6\25\7\27\b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2\2\u0093\u0094"+ "\7?\2\2\u0094\u0095\7?\2\2\u0095\36\3\2\2\2\u0096\u0097\7#\2\2\u0097\u0098"+ "\7?\2\2\u0098 \3\2\2\2\u0099\u009a\7?\2\2\u009a\u009b\7\u0080\2\2\u009b"+ "\"\3\2\2\2\u009c\u009d\7v\2\2\u009d\u009e\7t\2\2\u009e\u009f\7w\2\2\u009f"+ "\u00a0\7g\2\2\u00a0$\3\2\2\2\u00a1\u00a2\7h\2\2\u00a2\u00a3\7c\2\2\u00a3"+ "\u00a4\7n\2\2\u00a4\u00a5\7u\2\2\u00a5\u00a6\7g\2\2\u00a6&\3\2\2\2\u00a7"+ "\u00a8\7p\2\2\u00a8\u00a9\7w\2\2\u00a9\u00aa\7n\2\2\u00aa\u00ab\7n\2\2"+ "\u00ab(\3\2\2\2\u00ac\u00ad\7}\2\2\u00ad*\3\2\2\2\u00ae\u00af\7\177\2"+ "\2\u00af,\3\2\2\2\u00b0\u00b1\7]\2\2\u00b1.\3\2\2\2\u00b2\u00b3\7_\2\2"+ "\u00b3\60\3\2\2\2\u00b4\u00b5\7<\2\2\u00b5\62\3\2\2\2\u00b6\u00b7\7.\2"+ "\2\u00b7\64\3\2\2\2\u00b8\u00b9\7*\2\2\u00b9\66\3\2\2\2\u00ba\u00bb\7"+ "+\2\2\u00bb8\3\2\2\2\u00bc\u00bd\7A\2\2\u00bd:\3\2\2\2\u00be\u00c2\t\b"+ "\2\2\u00bf\u00c1\t\t\2\2\u00c0\u00bf\3\2\2\2\u00c1\u00c4\3\2\2\2\u00c2"+ "\u00c0\3\2\2\2\u00c2\u00c3\3\2\2\2\u00c3<\3\2\2\2\u00c4\u00c2\3\2\2\2"+ "\u00c5\u00c7\t\n\2\2\u00c6\u00c5\3\2\2\2\u00c7\u00c8\3\2\2\2\u00c8\u00c6"+ "\3\2\2\2\u00c8\u00c9\3\2\2\2\u00c9\u00ca\3\2\2\2\u00ca\u00cb\b\37\2\2"+ "\u00cb>\3\2\2\2\20\2BDKMQerwz~\u0083\u00c2\u00c8\3\b\2\2"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy