blob: 7f92e477846185dd1a52093034d670a7b3ebe166 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * Copyright 1997-2003 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Sun designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Sun in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 * CA 95054 USA or visit www.sun.com if you need additional information or
23 * have any questions.
24 */
25
26/* Generated By:JJTree&JavaCC: Do not edit this line. ParserConstants.java */
27package com.sun.jmx.snmp.IPAcl;
28
29interface ParserConstants {
30
31 int EOF = 0;
32 int ACCESS = 7;
33 int ACL = 8;
34 int ASSIGN = 9;
35 int COMMUNITIES = 10;
36 int ENTERPRISE = 11;
37 int HOSTS = 12;
38 int LBRACE = 13;
39 int MANAGERS = 14;
40 int RANGE = 15;
41 int RBRACE = 16;
42 int RO = 17;
43 int RW = 18;
44 int TRAP = 19;
45 int INFORM = 20;
46 int TRAPCOMMUNITY = 21;
47 int INFORMCOMMUNITY = 22;
48 int TRAPNUM = 23;
49 int INTEGER_LITERAL = 24;
50 int DECIMAL_LITERAL = 25;
51 int HEX_LITERAL = 26;
52 int OCTAL_LITERAL = 27;
53 int V6_ADDRESS = 28;
54 int H = 29;
55 int D = 30;
56 int IDENTIFIER = 31;
57 int LETTER = 32;
58 int SEPARATOR = 33;
59 int DIGIT = 34;
60 int CSTRING = 35;
61 int COMMA = 36;
62 int DOT = 37;
63 int MARK = 38;
64 int MASK = 39;
65
66 int DEFAULT = 0;
67
68 String[] tokenImage = {
69 "<EOF>",
70 "\" \"",
71 "\"\\t\"",
72 "\"\\n\"",
73 "\"\\r\"",
74 "<token of kind 5>",
75 "<token of kind 6>",
76 "\"access\"",
77 "\"acl\"",
78 "\"=\"",
79 "\"communities\"",
80 "\"enterprise\"",
81 "\"hosts\"",
82 "\"{\"",
83 "\"managers\"",
84 "\"-\"",
85 "\"}\"",
86 "\"read-only\"",
87 "\"read-write\"",
88 "\"trap\"",
89 "\"inform\"",
90 "\"trap-community\"",
91 "\"inform-community\"",
92 "\"trap-num\"",
93 "<INTEGER_LITERAL>",
94 "<DECIMAL_LITERAL>",
95 "<HEX_LITERAL>",
96 "<OCTAL_LITERAL>",
97 "<V6_ADDRESS>",
98 "<H>",
99 "<D>",
100 "<IDENTIFIER>",
101 "<LETTER>",
102 "<SEPARATOR>",
103 "<DIGIT>",
104 "<CSTRING>",
105 "\",\"",
106 "\".\"",
107 "\"!\"",
108 "\"/\"",
109 };
110
111}