io.fixprotocol.md.antlr.MarkdownLexer Maven / Gradle / Ivy
// Generated from io\fixprotocol\md\antlr\Markdown.g4 by ANTLR 4.9.2
package io.fixprotocol.md.antlr;
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 MarkdownLexer 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
LITERAL=1, HEADINGLINE=2, QUOTELINE=3, LISTLINE=4, PARAGRAPHLINE=5, TABLEDELIMINATORCELL=6,
FENCE=7, IGNORE_WS=8, NEWLINE=9, CELLTEXT=10, BACKTICK=11, GT=12, HASH=13,
PIPE=14;
public static String[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
public static String[] modeNames = {
"DEFAULT_MODE"
};
private static String[] makeRuleNames() {
return new String[] {
"LITERAL", "HEADINGLINE", "QUOTELINE", "LISTLINE", "PARAGRAPHLINE", "TABLEDELIMINATORCELL",
"FENCE", "IGNORE_WS", "NEWLINE", "CELLTEXT", "BACKTICK", "GT", "HASH",
"PIPE", "CELLCHAR", "ESCAPEDCHAR", "ALPHANUMERIC", "PUNCTUATION", "ESCAPEDPIPE",
"WS", "LISTNUMBER", "BULLET", "INITIALPARACHAR", "LITERALCHAR", "LINECHAR"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, null, null, null, null, null, null, "'```'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "LITERAL", "HEADINGLINE", "QUOTELINE", "LISTLINE", "PARAGRAPHLINE",
"TABLEDELIMINATORCELL", "FENCE", "IGNORE_WS", "NEWLINE", "CELLTEXT",
"BACKTICK", "GT", "HASH", "PIPE"
};
}
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 MarkdownLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "Markdown.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; }
@Override
public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
switch (ruleIndex) {
case 10:
return BACKTICK_sempred((RuleContext)_localctx, predIndex);
case 11:
return GT_sempred((RuleContext)_localctx, predIndex);
case 12:
return HASH_sempred((RuleContext)_localctx, predIndex);
case 13:
return PIPE_sempred((RuleContext)_localctx, predIndex);
case 18:
return ESCAPEDPIPE_sempred((RuleContext)_localctx, predIndex);
}
return true;
}
private boolean BACKTICK_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return _input.LA(-1) != 92;
}
return true;
}
private boolean GT_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 1:
return _input.LA(-1) != 92;
}
return true;
}
private boolean HASH_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 2:
return _input.LA(-1) != 92;
}
return true;
}
private boolean PIPE_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 3:
return _input.LA(-1) != 92;
}
return true;
}
private boolean ESCAPEDPIPE_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 4:
return _input.LA(-1) == 92;
}
return true;
}
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\20\u00d7\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\3\2\3\2\5\28\n\2\3\2\6\2;\n\2\r\2\16\2<\3\2\5\2@\n\2\3"+
"\2\3\2\3\3\6\3E\n\3\r\3\16\3F\3\3\5\3J\n\3\3\3\6\3M\n\3\r\3\16\3N\3\4"+
"\3\4\5\4S\n\4\3\4\6\4V\n\4\r\4\16\4W\3\4\6\4[\n\4\r\4\16\4\\\3\5\7\5`"+
"\n\5\f\5\16\5c\13\5\3\5\3\5\5\5g\n\5\3\5\6\5j\n\5\r\5\16\5k\3\5\7\5o\n"+
"\5\f\5\16\5r\13\5\3\6\3\6\6\6v\n\6\r\6\16\6w\3\6\7\6{\n\6\f\6\16\6~\13"+
"\6\3\7\5\7\u0081\n\7\3\7\5\7\u0084\n\7\3\7\5\7\u0087\n\7\3\7\6\7\u008a"+
"\n\7\r\7\16\7\u008b\3\7\5\7\u008f\n\7\3\7\5\7\u0092\n\7\3\b\3\b\3\b\3"+
"\b\3\t\3\t\3\t\3\t\3\n\5\n\u009d\n\n\3\n\3\n\3\13\3\13\3\13\6\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3\2\2\2p"+
"q\3\2\2\2q\n\3\2\2\2rp\3\2\2\2s|\5/\30\2tv\5\63\32\2ut\3\2\2\2vw\3\2\2"+
"\2wu\3\2\2\2wx\3\2\2\2x{\3\2\2\2y{\5\3\2\2zu\3\2\2\2zy\3\2\2\2{~\3\2\2"+
"\2|z\3\2\2\2|}\3\2\2\2}\f\3\2\2\2~|\3\2\2\2\177\u0081\5\35\17\2\u0080"+
"\177\3\2\2\2\u0080\u0081\3\2\2\2\u0081\u0083\3\2\2\2\u0082\u0084\7\"\2"+
"\2\u0083\u0082\3\2\2\2\u0083\u0084\3\2\2\2\u0084\u0086\3\2\2\2\u0085\u0087"+
"\7<\2\2\u0086\u0085\3\2\2\2\u0086\u0087\3\2\2\2\u0087\u0089\3\2\2\2\u0088"+
"\u008a\7/\2\2\u0089\u0088\3\2\2\2\u008a\u008b\3\2\2\2\u008b\u0089\3\2"+
"\2\2\u008b\u008c\3\2\2\2\u008c\u008e\3\2\2\2\u008d\u008f\7<\2\2\u008e"+
"\u008d\3\2\2\2\u008e\u008f\3\2\2\2\u008f\u0091\3\2\2\2\u0090\u0092\7\""+
"\2\2\u0091\u0090\3\2\2\2\u0091\u0092\3\2\2\2\u0092\16\3\2\2\2\u0093\u0094"+
"\7b\2\2\u0094\u0095\7b\2\2\u0095\u0096\7b\2\2\u0096\20\3\2\2\2\u0097\u0098"+
"\5)\25\2\u0098\u0099\3\2\2\2\u0099\u009a\b\t\2\2\u009a\22\3\2\2\2\u009b"+
"\u009d\7\17\2\2\u009c\u009b\3\2\2\2\u009c\u009d\3\2\2\2\u009d\u009e\3"+
"\2\2\2\u009e\u009f\7\f\2\2\u009f\24\3\2\2\2\u00a0\u00a1\5\35\17\2\u00a1"+
"\u00aa\5\21\t\2\u00a2\u00a4\5\37\20\2\u00a3\u00a2\3\2\2\2\u00a4\u00a5"+
"\3\2\2\2\u00a5\u00a3\3\2\2\2\u00a5\u00a6\3\2\2\2\u00a6\u00a9\3\2\2\2\u00a7"+
"\u00a9\5\3\2\2\u00a8\u00a3\3\2\2\2\u00a8\u00a7\3\2\2\2\u00a9\u00ac\3\2"+
"\2\2\u00aa\u00a8\3\2\2\2\u00aa\u00ab\3\2\2\2\u00ab\26\3\2\2\2\u00ac\u00aa"+
"\3\2\2\2\u00ad\u00ae\6\f\2\2\u00ae\u00af\7b\2\2\u00af\30\3\2\2\2\u00b0"+
"\u00b1\6\r\3\2\u00b1\u00b2\7@\2\2\u00b2\32\3\2\2\2\u00b3\u00b4\6\16\4"+
"\2\u00b4\u00b5\7%\2\2\u00b5\34\3\2\2\2\u00b6\u00b7\6\17\5\2\u00b7\u00b8"+
"\7~\2\2\u00b8\36\3\2\2\2\u00b9\u00bf\5!\21\2\u00ba\u00bf\5\'\24\2\u00bb"+
"\u00bf\5)\25\2\u00bc\u00bf\5#\22\2\u00bd\u00bf\5%\23\2\u00be\u00b9\3\2"+
"\2\2\u00be\u00ba\3\2\2\2\u00be\u00bb\3\2\2\2\u00be\u00bc\3\2\2\2\u00be"+
"\u00bd\3\2\2\2\u00bf \3\2\2\2\u00c0\u00c1\7^\2\2\u00c1\u00c2\t\2\2\2\u00c2"+
"\"\3\2\2\2\u00c3\u00c4\t\3\2\2\u00c4$\3\2\2\2\u00c5\u00c6\t\4\2\2\u00c6"+
"&\3\2\2\2\u00c7\u00c8\6\24\6\2\u00c8\u00c9\7~\2\2\u00c9(\3\2\2\2\u00ca"+
"\u00cb\t\5\2\2\u00cb*\3\2\2\2\u00cc\u00cd\t\6\2\2\u00cd\u00ce\t\7\2\2"+
"\u00ce,\3\2\2\2\u00cf\u00d0\t\b\2\2\u00d0.\3\2\2\2\u00d1\u00d2\n\t\2\2"+
"\u00d2\60\3\2\2\2\u00d3\u00d4\n\n\2\2\u00d4\62\3\2\2\2\u00d5\u00d6\n\13"+
"\2\2\u00d6\64\3\2\2\2\37\2\67
© 2015 - 2025 Weber Informatics LLC | Privacy Policy