MCPcopy Create free account
hub / github.com/cel-expr/cel-go / commandsParserInit

Function commandsParserInit

repl/parser/commands_parser.go:32–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func commandsParserInit() {
33 staticData := &CommandsParserStaticData
34 staticData.LiteralNames = []string{
35 "", "'%help'", "'%?'", "'%let'", "'%declare'", "'%delete'", "'%compile'",
36 "'%parse'", "'%eval'", "'--'", "", "", "'->'", "'='", "", "'=='", "'!='",
37 "'in'", "'<'", "'<='", "'>='", "'>'", "'&&'", "'||'", "'['", "']'",
38 "'{'", "'}'", "'('", "')'", "'.'", "','", "'-'", "'!'", "'?'", "':'",
39 "'+'", "'*'", "'/'", "'%'", "'true'", "'false'", "'null'",
40 }
41 staticData.SymbolicNames = []string{
42 "", "", "", "", "", "", "", "", "", "", "COMMAND", "FLAG", "ARROW",
43 "EQUAL_ASSIGN", "PARAM_SPECIFIER", "EQUALS", "NOT_EQUALS", "IN", "LESS",
44 "LESS_EQUALS", "GREATER_EQUALS", "GREATER", "LOGICAL_AND", "LOGICAL_OR",
45 "LBRACKET", "RPRACKET", "LBRACE", "RBRACE", "LPAREN", "RPAREN", "DOT",
46 "COMMA", "MINUS", "EXCLAM", "QUESTIONMARK", "COLON", "PLUS", "STAR",
47 "SLASH", "PERCENT", "CEL_TRUE", "CEL_FALSE", "NUL", "WHITESPACE", "COMMENT",
48 "NUM_FLOAT", "NUM_INT", "NUM_UINT", "STRING", "BYTES", "IDENTIFIER",
49 "ESC_IDENTIFIER",
50 }
51 staticData.RuleNames = []string{
52 "startCommand", "command", "help", "let", "declare", "varDecl", "fnDecl",
53 "param", "delete", "simple", "empty", "compile", "parse", "exprCmd",
54 "qualId", "startType", "type", "typeId", "paramId", "typeParamList",
55 "start", "expr", "conditionalOr", "conditionalAnd", "relation", "calc",
56 "unary", "member", "primary", "exprList", "listInit", "fieldInitializerList",
57 "optField", "mapInitializerList", "escapeIdent", "optExpr", "literal",
58 }
59 staticData.PredictionContextCache = antlr.NewPredictionContextCache()
60 staticData.serializedATN = []int32{
61 4, 1, 51, 439, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7,
62 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7,
63 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15,
64 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2,
65 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26,
66 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7,
67 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36,
68 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
69 3, 1, 87, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3,
70 3, 98, 8, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 3, 4, 105, 8, 4, 1, 5, 1, 5,
71 1, 5, 3, 5, 110, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 117, 8, 6, 10,
72 6, 12, 6, 120, 9, 6, 3, 6, 122, 8, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1,
73 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 3, 8, 135, 8, 8, 1, 9, 1, 9, 1, 9, 5,
74 9, 140, 8, 9, 10, 9, 12, 9, 143, 9, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11,
75 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 5, 13, 156, 8, 13, 10, 13, 12,
76 13, 159, 9, 13, 1, 13, 3, 13, 162, 8, 13, 3, 13, 164, 8, 13, 1, 13, 1,
77 13, 1, 14, 3, 14, 169, 8, 14, 1, 14, 1, 14, 1, 14, 5, 14, 174, 8, 14, 10,
78 14, 12, 14, 177, 9, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 3, 16, 184,
79 8, 16, 1, 16, 3, 16, 187, 8, 16, 1, 17, 3, 17, 190, 8, 17, 1, 17, 1, 17,
80 1, 17, 5, 17, 195, 8, 17, 10, 17, 12, 17, 198, 9, 17, 1, 18, 1, 18, 1,
81 19, 1, 19, 1, 19, 1, 19, 5, 19, 206, 8, 19, 10, 19, 12, 19, 209, 9, 19,
82 3, 19, 211, 8, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1,
83 21, 1, 21, 1, 21, 1, 21, 3, 21, 224, 8, 21, 1, 22, 1, 22, 1, 22, 5, 22,
84 229, 8, 22, 10, 22, 12, 22, 232, 9, 22, 1, 23, 1, 23, 1, 23, 5, 23, 237,
85 8, 23, 10, 23, 12, 23, 240, 9, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1,
86 24, 5, 24, 248, 8, 24, 10, 24, 12, 24, 251, 9, 24, 1, 25, 1, 25, 1, 25,
87 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 5, 25, 262, 8, 25, 10, 25, 12,
88 25, 265, 9, 25, 1, 26, 1, 26, 4, 26, 269, 8, 26, 11, 26, 12, 26, 270, 1,
89 26, 1, 26, 4, 26, 275, 8, 26, 11, 26, 12, 26, 276, 1, 26, 3, 26, 280, 8,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected