// Code generated from robotwar.g4 by ANTLR 4.9.3. DO NOT EDIT.

package robotwar

import (
	"fmt"
	"unicode"

	"github.com/antlr/antlr4/runtime/Go/antlr"
)

// Suppress unused import error
var _ = fmt.Printf
var _ = unicode.IsLetter

var serializedLexerAtn = []uint16{
	3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 57, 290,
	8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7,
	9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12,
	4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4,
	18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23,
	9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9,
	28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33,
	4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4,
	39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44,
	9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9,
	49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54,
	4, 55, 9, 55, 4, 56, 9, 56, 3, 2, 3, 2, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3,
	5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3,
	8, 3, 8, 3, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10,
	3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3,
	15, 3, 16, 3, 16, 3, 17, 3, 17, 3, 18, 3, 18, 3, 19, 3, 19, 3, 20, 3, 20,
	3, 21, 3, 21, 3, 22, 3, 22, 3, 23, 3, 23, 3, 24, 3, 24, 3, 25, 3, 25, 3,
	26, 3, 26, 3, 27, 3, 27, 3, 28, 3, 28, 3, 29, 3, 29, 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, 38, 3, 38, 3, 39, 3, 39, 3, 40, 3, 40, 3, 41, 3, 41,
	3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3,
	43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 45,
	3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3,
	46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 48,
	3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3,
	50, 3, 50, 3, 51, 3, 51, 3, 52, 3, 52, 6, 52, 266, 10, 52, 13, 52, 14,
	52, 267, 3, 53, 6, 53, 271, 10, 53, 13, 53, 14, 53, 272, 3, 54, 3, 54,
	7, 54, 277, 10, 54, 12, 54, 14, 54, 280, 11, 54, 3, 55, 6, 55, 283, 10,
	55, 13, 55, 14, 55, 284, 3, 56, 3, 56, 3, 56, 3, 56, 2, 2, 57, 3, 3, 5,
	4, 7, 5, 9, 6, 11, 7, 13, 8, 15, 9, 17, 10, 19, 11, 21, 12, 23, 13, 25,
	14, 27, 15, 29, 16, 31, 17, 33, 18, 35, 19, 37, 20, 39, 21, 41, 22, 43,
	23, 45, 24, 47, 25, 49, 26, 51, 27, 53, 28, 55, 29, 57, 30, 59, 31, 61,
	32, 63, 33, 65, 34, 67, 35, 69, 36, 71, 37, 73, 38, 75, 39, 77, 40, 79,
	41, 81, 42, 83, 43, 85, 44, 87, 45, 89, 46, 91, 47, 93, 48, 95, 49, 97,
	50, 99, 51, 101, 52, 103, 53, 105, 54, 107, 55, 109, 56, 111, 57, 3, 2,
	7, 4, 2, 67, 92, 99, 124, 5, 2, 50, 59, 67, 92, 99, 124, 3, 2, 50, 59,
	4, 2, 12, 12, 15, 15, 4, 2, 11, 11, 34, 34, 2, 293, 2, 3, 3, 2, 2, 2, 2,
	5, 3, 2, 2, 2, 2, 7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2,
	13, 3, 2, 2, 2, 2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2,
	2, 21, 3, 2, 2, 2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2,
	2, 2, 29, 3, 2, 2, 2, 2, 31, 3, 2, 2, 2, 2, 33, 3, 2, 2, 2, 2, 35, 3, 2,
	2, 2, 2, 37, 3, 2, 2, 2, 2, 39, 3, 2, 2, 2, 2, 41, 3, 2, 2, 2, 2, 43, 3,
	2, 2, 2, 2, 45, 3, 2, 2, 2, 2, 47, 3, 2, 2, 2, 2, 49, 3, 2, 2, 2, 2, 51,
	3, 2, 2, 2, 2, 53, 3, 2, 2, 2, 2, 55, 3, 2, 2, 2, 2, 57, 3, 2, 2, 2, 2,
	59, 3, 2, 2, 2, 2, 61, 3, 2, 2, 2, 2, 63, 3, 2, 2, 2, 2, 65, 3, 2, 2, 2,
	2, 67, 3, 2, 2, 2, 2, 69, 3, 2, 2, 2, 2, 71, 3, 2, 2, 2, 2, 73, 3, 2, 2,
	2, 2, 75, 3, 2, 2, 2, 2, 77, 3, 2, 2, 2, 2, 79, 3, 2, 2, 2, 2, 81, 3, 2,
	2, 2, 2, 83, 3, 2, 2, 2, 2, 85, 3, 2, 2, 2, 2, 87, 3, 2, 2, 2, 2, 89, 3,
	2, 2, 2, 2, 91, 3, 2, 2, 2, 2, 93, 3, 2, 2, 2, 2, 95, 3, 2, 2, 2, 2, 97,
	3, 2, 2, 2, 2, 99, 3, 2, 2, 2, 2, 101, 3, 2, 2, 2, 2, 103, 3, 2, 2, 2,
	2, 105, 3, 2, 2, 2, 2, 107, 3, 2, 2, 2, 2, 109, 3, 2, 2, 2, 2, 111, 3,
	2, 2, 2, 3, 113, 3, 2, 2, 2, 5, 115, 3, 2, 2, 2, 7, 117, 3, 2, 2, 2, 9,
	119, 3, 2, 2, 2, 11, 121, 3, 2, 2, 2, 13, 127, 3, 2, 2, 2, 15, 132, 3,
	2, 2, 2, 17, 135, 3, 2, 2, 2, 19, 142, 3, 2, 2, 2, 21, 145, 3, 2, 2, 2,
	23, 147, 3, 2, 2, 2, 25, 149, 3, 2, 2, 2, 27, 151, 3, 2, 2, 2, 29, 153,
	3, 2, 2, 2, 31, 155, 3, 2, 2, 2, 33, 157, 3, 2, 2, 2, 35, 159, 3, 2, 2,
	2, 37, 161, 3, 2, 2, 2, 39, 163, 3, 2, 2, 2, 41, 165, 3, 2, 2, 2, 43, 167,
	3, 2, 2, 2, 45, 169, 3, 2, 2, 2, 47, 171, 3, 2, 2, 2, 49, 173, 3, 2, 2,
	2, 51, 175, 3, 2, 2, 2, 53, 177, 3, 2, 2, 2, 55, 179, 3, 2, 2, 2, 57, 181,
	3, 2, 2, 2, 59, 183, 3, 2, 2, 2, 61, 185, 3, 2, 2, 2, 63, 187, 3, 2, 2,
	2, 65, 189, 3, 2, 2, 2, 67, 191, 3, 2, 2, 2, 69, 193, 3, 2, 2, 2, 71, 195,
	3, 2, 2, 2, 73, 197, 3, 2, 2, 2, 75, 199, 3, 2, 2, 2, 77, 201, 3, 2, 2,
	2, 79, 203, 3, 2, 2, 2, 81, 205, 3, 2, 2, 2, 83, 209, 3, 2, 2, 2, 85, 214,
	3, 2, 2, 2, 87, 220, 3, 2, 2, 2, 89, 227, 3, 2, 2, 2, 91, 234, 3, 2, 2,
	2, 93, 241, 3, 2, 2, 2, 95, 248, 3, 2, 2, 2, 97, 254, 3, 2, 2, 2, 99, 259,
	3, 2, 2, 2, 101, 261, 3, 2, 2, 2, 103, 263, 3, 2, 2, 2, 105, 270, 3, 2,
	2, 2, 107, 274, 3, 2, 2, 2, 109, 282, 3, 2, 2, 2, 111, 286, 3, 2, 2, 2,
	113, 114, 7, 63, 2, 2, 114, 4, 3, 2, 2, 2, 115, 116, 7, 37, 2, 2, 116,
	6, 3, 2, 2, 2, 117, 118, 7, 62, 2, 2, 118, 8, 3, 2, 2, 2, 119, 120, 7,
	64, 2, 2, 120, 10, 3, 2, 2, 2, 121, 122, 7, 73, 2, 2, 122, 123, 7, 81,
	2, 2, 123, 124, 7, 85, 2, 2, 124, 125, 7, 87, 2, 2, 125, 126, 7, 68, 2,
	2, 126, 12, 3, 2, 2, 2, 127, 128, 7, 73, 2, 2, 128, 129, 7, 81, 2, 2, 129,
	130, 7, 86, 2, 2, 130, 131, 7, 81, 2, 2, 131, 14, 3, 2, 2, 2, 132, 133,
	7, 86, 2, 2, 133, 134, 7, 81, 2, 2, 134, 16, 3, 2, 2, 2, 135, 136, 7, 71,
	2, 2, 136, 137, 7, 80, 2, 2, 137, 138, 7, 70, 2, 2, 138, 139, 7, 85, 2,
	2, 139, 140, 7, 87, 2, 2, 140, 141, 7, 68, 2, 2, 141, 18, 3, 2, 2, 2, 142,
	143, 7, 75, 2, 2, 143, 144, 7, 72, 2, 2, 144, 20, 3, 2, 2, 2, 145, 146,
	7, 45, 2, 2, 146, 22, 3, 2, 2, 2, 147, 148, 7, 47, 2, 2, 148, 24, 3, 2,
	2, 2, 149, 150, 7, 44, 2, 2, 150, 26, 3, 2, 2, 2, 151, 152, 7, 49, 2, 2,
	152, 28, 3, 2, 2, 2, 153, 154, 7, 67, 2, 2, 154, 30, 3, 2, 2, 2, 155, 156,
	7, 68, 2, 2, 156, 32, 3, 2, 2, 2, 157, 158, 7, 69, 2, 2, 158, 34, 3, 2,
	2, 2, 159, 160, 7, 70, 2, 2, 160, 36, 3, 2, 2, 2, 161, 162, 7, 71, 2, 2,
	162, 38, 3, 2, 2, 2, 163, 164, 7, 72, 2, 2, 164, 40, 3, 2, 2, 2, 165, 166,
	7, 73, 2, 2, 166, 42, 3, 2, 2, 2, 167, 168, 7, 74, 2, 2, 168, 44, 3, 2,
	2, 2, 169, 170, 7, 75, 2, 2, 170, 46, 3, 2, 2, 2, 171, 172, 7, 76, 2, 2,
	172, 48, 3, 2, 2, 2, 173, 174, 7, 77, 2, 2, 174, 50, 3, 2, 2, 2, 175, 176,
	7, 78, 2, 2, 176, 52, 3, 2, 2, 2, 177, 178, 7, 79, 2, 2, 178, 54, 3, 2,
	2, 2, 179, 180, 7, 80, 2, 2, 180, 56, 3, 2, 2, 2, 181, 182, 7, 81, 2, 2,
	182, 58, 3, 2, 2, 2, 183, 184, 7, 82, 2, 2, 184, 60, 3, 2, 2, 2, 185, 186,
	7, 83, 2, 2, 186, 62, 3, 2, 2, 2, 187, 188, 7, 84, 2, 2, 188, 64, 3, 2,
	2, 2, 189, 190, 7, 85, 2, 2, 190, 66, 3, 2, 2, 2, 191, 192, 7, 86, 2, 2,
	192, 68, 3, 2, 2, 2, 193, 194, 7, 87, 2, 2, 194, 70, 3, 2, 2, 2, 195, 196,
	7, 88, 2, 2, 196, 72, 3, 2, 2, 2, 197, 198, 7, 89, 2, 2, 198, 74, 3, 2,
	2, 2, 199, 200, 7, 90, 2, 2, 200, 76, 3, 2, 2, 2, 201, 202, 7, 91, 2, 2,
	202, 78, 3, 2, 2, 2, 203, 204, 7, 92, 2, 2, 204, 80, 3, 2, 2, 2, 205, 206,
	7, 67, 2, 2, 206, 207, 7, 75, 2, 2, 207, 208, 7, 79, 2, 2, 208, 82, 3,
	2, 2, 2, 209, 210, 7, 85, 2, 2, 210, 211, 7, 74, 2, 2, 211, 212, 7, 81,
	2, 2, 212, 213, 7, 86, 2, 2, 213, 84, 3, 2, 2, 2, 214, 215, 7, 84, 2, 2,
	215, 216, 7, 67, 2, 2, 216, 217, 7, 70, 2, 2, 217, 218, 7, 67, 2, 2, 218,
	219, 7, 84, 2, 2, 219, 86, 3, 2, 2, 2, 220, 221, 7, 70, 2, 2, 221, 222,
	7, 67, 2, 2, 222, 223, 7, 79, 2, 2, 223, 224, 7, 67, 2, 2, 224, 225, 7,
	73, 2, 2, 225, 226, 7, 71, 2, 2, 226, 88, 3, 2, 2, 2, 227, 228, 7, 85,
	2, 2, 228, 229, 7, 82, 2, 2, 229, 230, 7, 71, 2, 2, 230, 231, 7, 71, 2,
	2, 231, 232, 7, 70, 2, 2, 232, 233, 7, 90, 2, 2, 233, 90, 3, 2, 2, 2, 234,
	235, 7, 85, 2, 2, 235, 236, 7, 82, 2, 2, 236, 237, 7, 71, 2, 2, 237, 238,
	7, 71, 2, 2, 238, 239, 7, 70, 2, 2, 239, 240, 7, 91, 2, 2, 240, 92, 3,
	2, 2, 2, 241, 242, 7, 84, 2, 2, 242, 243, 7, 67, 2, 2, 243, 244, 7, 80,
	2, 2, 244, 245, 7, 70, 2, 2, 245, 246, 7, 81, 2, 2, 246, 247, 7, 79, 2,
	2, 247, 94, 3, 2, 2, 2, 248, 249, 7, 75, 2, 2, 249, 250, 7, 80, 2, 2, 250,
	251, 7, 70, 2, 2, 251, 252, 7, 71, 2, 2, 252, 253, 7, 90, 2, 2, 253, 96,
	3, 2, 2, 2, 254, 255, 7, 70, 2, 2, 255, 256, 7, 67, 2, 2, 256, 257, 7,
	86, 2, 2, 257, 258, 7, 67, 2, 2, 258, 98, 3, 2, 2, 2, 259, 260, 7, 48,
	2, 2, 260, 100, 3, 2, 2, 2, 261, 262, 7, 46, 2, 2, 262, 102, 3, 2, 2, 2,
	263, 265, 9, 2, 2, 2, 264, 266, 9, 3, 2, 2, 265, 264, 3, 2, 2, 2, 266,
	267, 3, 2, 2, 2, 267, 265, 3, 2, 2, 2, 267, 268, 3, 2, 2, 2, 268, 104,
	3, 2, 2, 2, 269, 271, 9, 4, 2, 2, 270, 269, 3, 2, 2, 2, 271, 272, 3, 2,
	2, 2, 272, 270, 3, 2, 2, 2, 272, 273, 3, 2, 2, 2, 273, 106, 3, 2, 2, 2,
	274, 278, 7, 61, 2, 2, 275, 277, 10, 5, 2, 2, 276, 275, 3, 2, 2, 2, 277,
	280, 3, 2, 2, 2, 278, 276, 3, 2, 2, 2, 278, 279, 3, 2, 2, 2, 279, 108,
	3, 2, 2, 2, 280, 278, 3, 2, 2, 2, 281, 283, 9, 5, 2, 2, 282, 281, 3, 2,
	2, 2, 283, 284, 3, 2, 2, 2, 284, 282, 3, 2, 2, 2, 284, 285, 3, 2, 2, 2,
	285, 110, 3, 2, 2, 2, 286, 287, 9, 6, 2, 2, 287, 288, 3, 2, 2, 2, 288,
	289, 8, 56, 2, 2, 289, 112, 3, 2, 2, 2, 7, 2, 267, 272, 278, 284, 3, 8,
	2, 2,
}

var lexerChannelNames = []string{
	"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
}

var lexerModeNames = []string{
	"DEFAULT_MODE",
}

var lexerLiteralNames = []string{
	"", "'='", "'#'", "'<'", "'>'", "'GOSUB'", "'GOTO'", "'TO'", "'ENDSUB'",
	"'IF'", "'+'", "'-'", "'*'", "'/'", "'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'", "'AIM'",
	"'SHOT'", "'RADAR'", "'DAMAGE'", "'SPEEDX'", "'SPEEDY'", "'RANDOM'", "'INDEX'",
	"'DATA'", "'.'", "','",
}

var lexerSymbolicNames = []string{
	"", "", "", "", "", "", "", "", "", "", "", "", "", "", "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", "AIM", "SHOT", "RADAR", "DAMAGE",
	"SPEEDX", "SPEEDY", "RANDOM", "INDEX", "DATA", "DOT", "COMMA", "ID", "NUMBER",
	"COMMENT", "EOL", "WS",
}

var lexerRuleNames = []string{
	"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
	"T__9", "T__10", "T__11", "T__12", "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", "AIM", "SHOT", "RADAR", "DAMAGE", "SPEEDX", "SPEEDY", "RANDOM",
	"INDEX", "DATA", "DOT", "COMMA", "ID", "NUMBER", "COMMENT", "EOL", "WS",
}

type robotwarLexer struct {
	*antlr.BaseLexer
	channelNames []string
	modeNames    []string
	// TODO: EOF string
}

// NewrobotwarLexer produces a new lexer instance for the optional input antlr.CharStream.
//
// The *robotwarLexer instance produced may be reused by calling the SetInputStream method.
// The initial lexer configuration is expensive to construct, and the object is not thread-safe;
// however, if used within a Golang sync.Pool, the construction cost amortizes well and the
// objects can be used in a thread-safe manner.
func NewrobotwarLexer(input antlr.CharStream) *robotwarLexer {
	l := new(robotwarLexer)
	lexerDeserializer := antlr.NewATNDeserializer(nil)
	lexerAtn := lexerDeserializer.DeserializeFromUInt16(serializedLexerAtn)
	lexerDecisionToDFA := make([]*antlr.DFA, len(lexerAtn.DecisionToState))
	for index, ds := range lexerAtn.DecisionToState {
		lexerDecisionToDFA[index] = antlr.NewDFA(ds, index)
	}
	l.BaseLexer = antlr.NewBaseLexer(input)
	l.Interpreter = antlr.NewLexerATNSimulator(l, lexerAtn, lexerDecisionToDFA, antlr.NewPredictionContextCache())

	l.channelNames = lexerChannelNames
	l.modeNames = lexerModeNames
	l.RuleNames = lexerRuleNames
	l.LiteralNames = lexerLiteralNames
	l.SymbolicNames = lexerSymbolicNames
	l.GrammarFileName = "robotwar.g4"
	// TODO: l.EOF = antlr.TokenEOF

	return l
}

// robotwarLexer tokens.
const (
	robotwarLexerT__0    = 1
	robotwarLexerT__1    = 2
	robotwarLexerT__2    = 3
	robotwarLexerT__3    = 4
	robotwarLexerT__4    = 5
	robotwarLexerT__5    = 6
	robotwarLexerT__6    = 7
	robotwarLexerT__7    = 8
	robotwarLexerT__8    = 9
	robotwarLexerT__9    = 10
	robotwarLexerT__10   = 11
	robotwarLexerT__11   = 12
	robotwarLexerT__12   = 13
	robotwarLexerA       = 14
	robotwarLexerB       = 15
	robotwarLexerC       = 16
	robotwarLexerD       = 17
	robotwarLexerE       = 18
	robotwarLexerF       = 19
	robotwarLexerG       = 20
	robotwarLexerH       = 21
	robotwarLexerI       = 22
	robotwarLexerJ       = 23
	robotwarLexerK       = 24
	robotwarLexerL       = 25
	robotwarLexerM       = 26
	robotwarLexerN       = 27
	robotwarLexerO       = 28
	robotwarLexerP       = 29
	robotwarLexerQ       = 30
	robotwarLexerR       = 31
	robotwarLexerS       = 32
	robotwarLexerT       = 33
	robotwarLexerU       = 34
	robotwarLexerV       = 35
	robotwarLexerW       = 36
	robotwarLexerX       = 37
	robotwarLexerY       = 38
	robotwarLexerZ       = 39
	robotwarLexerAIM     = 40
	robotwarLexerSHOT    = 41
	robotwarLexerRADAR   = 42
	robotwarLexerDAMAGE  = 43
	robotwarLexerSPEEDX  = 44
	robotwarLexerSPEEDY  = 45
	robotwarLexerRANDOM  = 46
	robotwarLexerINDEX   = 47
	robotwarLexerDATA    = 48
	robotwarLexerDOT     = 49
	robotwarLexerCOMMA   = 50
	robotwarLexerID      = 51
	robotwarLexerNUMBER  = 52
	robotwarLexerCOMMENT = 53
	robotwarLexerEOL     = 54
	robotwarLexerWS      = 55
)
