|
Java example source code file (ExpressionParserConstants.java)
The ExpressionParserConstants.java Java example source code/* * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code 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 * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ /* * This source code is provided to illustrate the usage of a given feature * or technique and has been deliberately simplified. Additional steps * required for a production-quality application, such as security checks, * input validation and proper error handling, might not be present in * this sample code. */ /* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */ package com.sun.tools.example.debug.expr; public interface ExpressionParserConstants { int EOF = 0; int SINGLE_LINE_COMMENT = 6; int FORMAL_COMMENT = 7; int MULTI_LINE_COMMENT = 8; int ABSTRACT = 9; int BOOLEAN = 10; int BREAK = 11; int BYTE = 12; int CASE = 13; int CATCH = 14; int CHAR = 15; int CLASS = 16; int CONST = 17; int CONTINUE = 18; int _DEFAULT = 19; int DO = 20; int DOUBLE = 21; int ELSE = 22; int EXTENDS = 23; int FALSE = 24; int FINAL = 25; int FINALLY = 26; int FLOAT = 27; int FOR = 28; int GOTO = 29; int IF = 30; int IMPLEMENTS = 31; int IMPORT = 32; int INSTANCEOF = 33; int INT = 34; int INTERFACE = 35; int LONG = 36; int NATIVE = 37; int NEW = 38; int NULL = 39; int PACKAGE = 40; int PRIVATE = 41; int PROTECTED = 42; int PUBLIC = 43; int RETURN = 44; int SHORT = 45; int STATIC = 46; int SUPER = 47; int SWITCH = 48; int SYNCHRONIZED = 49; int THIS = 50; int THROW = 51; int THROWS = 52; int TRANSIENT = 53; int TRUE = 54; int TRY = 55; int VOID = 56; int VOLATILE = 57; int WHILE = 58; int INTEGER_LITERAL = 59; int DECIMAL_LITERAL = 60; int HEX_LITERAL = 61; int OCTAL_LITERAL = 62; int FLOATING_POINT_LITERAL = 63; int EXPONENT = 64; int CHARACTER_LITERAL = 65; int STRING_LITERAL = 66; int IDENTIFIER = 67; int LETTER = 68; int DIGIT = 69; int LPAREN = 70; int RPAREN = 71; int LBRACE = 72; int RBRACE = 73; int LBRACKET = 74; int RBRACKET = 75; int SEMICOLON = 76; int COMMA = 77; int DOT = 78; int ASSIGN = 79; int GT = 80; int LT = 81; int BANG = 82; int TILDE = 83; int HOOK = 84; int COLON = 85; int EQ = 86; int LE = 87; int GE = 88; int NE = 89; int SC_OR = 90; int SC_AND = 91; int INCR = 92; int DECR = 93; int PLUS = 94; int MINUS = 95; int STAR = 96; int SLASH = 97; int BIT_AND = 98; int BIT_OR = 99; int XOR = 100; int REM = 101; int LSHIFT = 102; int RSIGNEDSHIFT = 103; int RUNSIGNEDSHIFT = 104; int PLUSASSIGN = 105; int MINUSASSIGN = 106; int STARASSIGN = 107; int SLASHASSIGN = 108; int ANDASSIGN = 109; int ORASSIGN = 110; int XORASSIGN = 111; int REMASSIGN = 112; int LSHIFTASSIGN = 113; int RSIGNEDSHIFTASSIGN = 114; int RUNSIGNEDSHIFTASSIGN = 115; int DEFAULT = 0; String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"\\f\"", "<SINGLE_LINE_COMMENT>", "<FORMAL_COMMENT>", "<MULTI_LINE_COMMENT>", "\"abstract\"", "\"boolean\"", "\"break\"", "\"byte\"", "\"case\"", "\"catch\"", "\"char\"", "\"class\"", "\"const\"", "\"continue\"", "\"default\"", "\"do\"", "\"double\"", "\"else\"", "\"extends\"", "\"false\"", "\"final\"", "\"finally\"", "\"float\"", "\"for\"", "\"goto\"", "\"if\"", "\"implements\"", "\"import\"", "\"instanceof\"", "\"int\"", "\"interface\"", "\"long\"", "\"native\"", "\"new\"", "\"null\"", "\"package\"", "\"private\"", "\"protected\"", "\"public\"", "\"return\"", "\"short\"", "\"static\"", "\"super\"", "\"switch\"", "\"synchronized\"", "\"this\"", "\"throw\"", "\"throws\"", "\"transient\"", "\"true\"", "\"try\"", "\"void\"", "\"volatile\"", "\"while\"", "<INTEGER_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>", "<FLOATING_POINT_LITERAL>", "<EXPONENT>", "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\"{\"", "\"}\"", "\"[\"", "\"]\"", "\";\"", "\",\"", "\".\"", "\"=\"", "\">\"", "\"<\"", "\"!\"", "\"~\"", "\"?\"", "\":\"", "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"", "\"&&\"", "\"++\"", "\"--\"", "\"+\"", "\"-\"", "\"*\"", "\"/\"", "\"&\"", "\"|\"", "\"^\"", "\"%\"", "\"<<\"", "\">>\"", "\">>>\"", "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"&=\"", "\"|=\"", "\"^=\"", "\"%=\"", "\"<<=\"", "\">>=\"", "\">>>=\"", }; } Other Java examples (source code examples)Here is a short list of links related to this Java ExpressionParserConstants.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.