01: /*
02: * Copyright 1997-2003 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * 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 */
27: package com.sun.jmx.snmp.IPAcl;
28:
29: interface 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 = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"",
69: "\"\\r\"", "<token of kind 5>", "<token of kind 6>",
70: "\"access\"", "\"acl\"", "\"=\"", "\"communities\"",
71: "\"enterprise\"", "\"hosts\"", "\"{\"", "\"managers\"",
72: "\"-\"", "\"}\"", "\"read-only\"", "\"read-write\"",
73: "\"trap\"", "\"inform\"", "\"trap-community\"",
74: "\"inform-community\"", "\"trap-num\"",
75: "<INTEGER_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>",
76: "<OCTAL_LITERAL>", "<V6_ADDRESS>", "<H>", "<D>",
77: "<IDENTIFIER>", "<LETTER>", "<SEPARATOR>", "<DIGIT>",
78: "<CSTRING>", "\",\"", "\".\"", "\"!\"", "\"/\"", };
79:
80: }
|