/*
* This file is part of MazeSolver.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (c) 2014 MazeSolver
* Sergio M. Afonso Fumero <theSkatrak@gmail.com>
* Kevin I. Robayna Hernández <kevinirobaynahdez@gmail.com>
*/
// Generated from SituationAction.g4 by ANTLR 4.4
package es.ull.mazesolver.agent.rules.parser;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.RuntimeMetaData;
import org.antlr.v4.runtime.atn.ATN;
import org.antlr.v4.runtime.atn.ATNDeserializer;
import org.antlr.v4.runtime.atn.LexerATNSimulator;
import org.antlr.v4.runtime.atn.PredictionContextCache;
import org.antlr.v4.runtime.dfa.DFA;
@SuppressWarnings ({"all", "warnings", "unchecked", "unused", "cast"})
public class SituationActionLexer extends Lexer {
static {
RuntimeMetaData.checkVersion("4.4", RuntimeMetaData.VERSION);
}
protected static final DFA [] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
public static final int IMPLIES = 1, DOT = 2, AND = 3, OR = 4, LEFTPAR = 5, RIGHTPAR = 6,
NOT = 7, FREE = 8, WALL = 9, VISITED = 10, AGENT = 11, OFFLIMITS = 12, MOVE = 13, STOP = 14,
UP = 15, DOWN = 16, LEFT = 17, RIGHT = 18, COMMENT = 19, BLANK = 20;
public static String [] modeNames = {"DEFAULT_MODE"};
public static final String [] tokenNames = {"'\\u0000'", "'\\u0001'", "'\\u0002'", "'\\u0003'",
"'\\u0004'", "'\\u0005'", "'\\u0006'", "'\\u0007'", "'\b'", "'\t'", "'\n'", "'\\u000B'",
"'\f'", "'\r'", "'\\u000E'", "'\\u000F'", "'\\u0010'", "'\\u0011'", "'\\u0012'", "'\\u0013'",
"'\\u0014'"};
public static final String [] ruleNames = {"IMPLIES", "DOT", "AND", "OR", "LEFTPAR", "RIGHTPAR",
"NOT", "FREE", "WALL", "VISITED", "AGENT", "OFFLIMITS", "MOVE", "STOP", "UP", "DOWN", "LEFT",
"RIGHT", "COMMENT", "BLANK", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
public SituationActionLexer (CharStream input) {
super(input);
_interp = new LexerATNSimulator(this, _ATN, _decisionToDFA, _sharedContextCache);
}
@Override
public String getGrammarFileName () {
return "SituationAction.g4";
}
@Override
public String [] getTokenNames () {
return tokenNames;
}
@Override
public String [] getRuleNames () {
return ruleNames;
}
@Override
public String getSerializedATN () {
return _serializedATN;
}
@Override
public String [] getModeNames () {
return modeNames;
}
@Override
public ATN getATN () {
return _ATN;
}
public static final String _serializedATN =
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\26\u0109\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\4 \t"
+ " \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t"
+ "+\4,\t,\4-\t-\4.\t.\4/\t/\3\2\3\2\3\2\3\2\5\2d\n\2\3\3\3\3\3\4\3\4\3\4"
+ "\3\4\3\4\5\4m\n\4\3\5\3\5\3\5\3\5\5\5s\n\5\3\6\3\6\3\7\3\7\3\b\3\b\3\b"
+ "\3\b\3\b\5\b~\n\b\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3"
+ "\13\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3"
+ "\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\5\16\u00aa"
+ "\n\16\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\21\3\21\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\7\24\u00c8\n\24\f\24\16\24\u00cb\13\24\3\24\3\24\3\25\6\25\u00d0"
+ "\n\25\r\25\16\25\u00d1\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\3\37\3\37\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/\2\2\60\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23"
+ "\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\2-\2/\2\61"
+ "\2\63\2\65\2\67\29\2;\2=\2?\2A\2C\2E\2G\2I\2K\2M\2O\2Q\2S\2U\2W\2Y\2["
+ "\2]\2\3\2\37\4\2##\u0080\u0080\4\2\f\f\17\17\5\2\13\f\17\17\"\"\4\2CC"
+ "cc\4\2DDdd\4\2EEee\4\2FFff\4\2GGgg\4\2HHhh\4\2IIii\4\2JJjj\4\2KKkk\4\2"
+ "LLll\4\2MMmm\4\2NNnn\4\2OOoo\4\2PPpp\4\2QQqq\4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\2_`\7?\2\2`d\7@\2\2ab\7/\2\2bd\7@\2\2c_\3\2\2\2"
+ "ca\3\2\2\2d\4\3\2\2\2ef\7\60\2\2f\6\3\2\2\2gm\7(\2\2hi\5+\26\2ij\5E#\2"
+ "jk\5\61\31\2km\3\2\2\2lg\3\2\2\2lh\3\2\2\2m\b\3\2\2\2ns\7~\2\2op\5G$\2"
+ "pq\5M\'\2qs\3\2\2\2rn\3\2\2\2ro\3\2\2\2s\n\3\2\2\2tu\7*\2\2u\f\3\2\2\2"
+ "vw\7+\2\2w\16\3\2\2\2xy\5E#\2yz\5G$\2z{\5Q)\2{~\3\2\2\2|~\t\2\2\2}x\3"
+ "\2\2\2}|\3\2\2\2~\20\3\2\2\2\177\u0080\5\65\33\2\u0080\u0081\5M\'\2\u0081"
+ "\u0082\5\63\32\2\u0082\u0083\5\63\32\2\u0083\22\3\2\2\2\u0084\u0085\5"
+ "W,\2\u0085\u0086\5+\26\2\u0086\u0087\5A!\2\u0087\u0088\5A!\2\u0088\24"
+ "\3\2\2\2\u0089\u008a\5U+\2\u008a\u008b\5;\36\2\u008b\u008c\5O(\2\u008c"
+ "\u008d\5;\36\2\u008d\u008e\5Q)\2\u008e\u008f\5\63\32\2\u008f\u0090\5\61"
+ "\31\2\u0090\26\3\2\2\2\u0091\u0092\5+\26\2\u0092\u0093\5\67\34\2\u0093"
+ "\u0094\5\63\32\2\u0094\u0095\5E#\2\u0095\u0096\5Q)\2\u0096\30\3\2\2\2"
+ "\u0097\u0098\5G$\2\u0098\u0099\5\65\33\2\u0099\u009a\5\65\33\2\u009a\u009b"
+ "\5A!\2\u009b\u009c\5;\36\2\u009c\u009d\5C\"\2\u009d\u009e\5;\36\2\u009e"
+ "\u009f\5Q)\2\u009f\u00a0\5O(\2\u00a0\32\3\2\2\2\u00a1\u00a2\5C\"\2\u00a2"
+ "\u00a3\5G$\2\u00a3\u00a4\5U+\2\u00a4\u00a5\5\63\32\2\u00a5\u00aa\3\2\2"
+ "\2\u00a6\u00a7\5\67\34\2\u00a7\u00a8\5G$\2\u00a8\u00aa\3\2\2\2\u00a9\u00a1"
+ "\3\2\2\2\u00a9\u00a6\3\2\2\2\u00aa\34\3\2\2\2\u00ab\u00ac\5O(\2\u00ac"
+ "\u00ad\5Q)\2\u00ad\u00ae\5G$\2\u00ae\u00af\5I%\2\u00af\36\3\2\2\2\u00b0"
+ "\u00b1\5S*\2\u00b1\u00b2\5I%\2\u00b2 \3\2\2\2\u00b3\u00b4\5\61\31\2\u00b4"
+ "\u00b5\5G$\2\u00b5\u00b6\5W,\2\u00b6\u00b7\5E#\2\u00b7\"\3\2\2\2\u00b8"
+ "\u00b9\5A!\2\u00b9\u00ba\5\63\32\2\u00ba\u00bb\5\65\33\2\u00bb\u00bc\5"
+ "Q)\2\u00bc$\3\2\2\2\u00bd\u00be\5M\'\2\u00be\u00bf\5;\36\2\u00bf\u00c0"
+ "\5\67\34\2\u00c0\u00c1\59\35\2\u00c1\u00c2\5Q)\2\u00c2&\3\2\2\2\u00c3"
+ "\u00c4\7\61\2\2\u00c4\u00c5\7\61\2\2\u00c5\u00c9\3\2\2\2\u00c6\u00c8\n"
+ "\3\2\2\u00c7\u00c6\3\2\2\2\u00c8\u00cb\3\2\2\2\u00c9\u00c7\3\2\2\2\u00c9"
+ "\u00ca\3\2\2\2\u00ca\u00cc\3\2\2\2\u00cb\u00c9\3\2\2\2\u00cc\u00cd\b\24"
+ "\2\2\u00cd(\3\2\2\2\u00ce\u00d0\t\4\2\2\u00cf\u00ce\3\2\2\2\u00d0\u00d1"
+ "\3\2\2\2\u00d1\u00cf\3\2\2\2\u00d1\u00d2\3\2\2\2\u00d2\u00d3\3\2\2\2\u00d3"
+ "\u00d4\b\25\2\2\u00d4*\3\2\2\2\u00d5\u00d6\t\5\2\2\u00d6,\3\2\2\2\u00d7"
+ "\u00d8\t\6\2\2\u00d8.\3\2\2\2\u00d9\u00da\t\7\2\2\u00da\60\3\2\2\2\u00db"
+ "\u00dc\t\b\2\2\u00dc\62\3\2\2\2\u00dd\u00de\t\t\2\2\u00de\64\3\2\2\2\u00df"
+ "\u00e0\t\n\2\2\u00e0\66\3\2\2\2\u00e1\u00e2\t\13\2\2\u00e28\3\2\2\2\u00e3"
+ "\u00e4\t\f\2\2\u00e4:\3\2\2\2\u00e5\u00e6\t\r\2\2\u00e6<\3\2\2\2\u00e7"
+ "\u00e8\t\16\2\2\u00e8>\3\2\2\2\u00e9\u00ea\t\17\2\2\u00ea@\3\2\2\2\u00eb"
+ "\u00ec\t\20\2\2\u00ecB\3\2\2\2\u00ed\u00ee\t\21\2\2\u00eeD\3\2\2\2\u00ef"
+ "\u00f0\t\22\2\2\u00f0F\3\2\2\2\u00f1\u00f2\t\23\2\2\u00f2H\3\2\2\2\u00f3"
+ "\u00f4\t\24\2\2\u00f4J\3\2\2\2\u00f5\u00f6\t\25\2\2\u00f6L\3\2\2\2\u00f7"
+ "\u00f8\t\26\2\2\u00f8N\3\2\2\2\u00f9\u00fa\t\27\2\2\u00faP\3\2\2\2\u00fb"
+ "\u00fc\t\30\2\2\u00fcR\3\2\2\2\u00fd\u00fe\t\31\2\2\u00feT\3\2\2\2\u00ff"
+ "\u0100\t\32\2\2\u0100V\3\2\2\2\u0101\u0102\t\33\2\2\u0102X\3\2\2\2\u0103"
+ "\u0104\t\34\2\2\u0104Z\3\2\2\2\u0105\u0106\t\35\2\2\u0106\\\3\2\2\2\u0107"
+ "\u0108\t\36\2\2\u0108^\3\2\2\2\n\2clr}\u00a9\u00c9\u00d1\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);
}
}
}