All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.parser.Tokens Maven / Gradle / Ivy

There is a newer version: 9.4.7.0
Show newest version
/*
 ***** BEGIN LICENSE BLOCK *****
 * Version: CPL 1.0/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Common Public
 * License Version 1.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of
 * the License at http://www.eclipse.org/legal/cpl-v10.html
 *
 * Software distributed under the License is distributed on an "AS
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * rights and limitations under the License.
 *
 * Copyright (C) 2001-2002 Jan Arne Petersen 
 * Copyright (C) 2004-2005 Thomas E Enebo 
 * 
 * Alternatively, the contents of this file may be used under the terms of
 * either of the GNU General Public License Version 2 or later (the "GPL"),
 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the CPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the CPL, the GPL or the LGPL.
 ***** END LICENSE BLOCK *****/
package org.jruby.parser;

public interface Tokens {
    int yyErrorCode = DefaultRubyParser.yyErrorCode;
    int kCLASS      = DefaultRubyParser.kCLASS;
    int kMODULE     = DefaultRubyParser.kMODULE;
    int kDEF        = DefaultRubyParser.kDEF;
    int kUNDEF      = DefaultRubyParser.kUNDEF;
    int kBEGIN      = DefaultRubyParser.kBEGIN;
    int kRESCUE     = DefaultRubyParser.kRESCUE;
    int kENSURE     = DefaultRubyParser.kENSURE;
    int kEND        = DefaultRubyParser.kEND;
    int kIF         = DefaultRubyParser.kIF;
    int kUNLESS     = DefaultRubyParser.kUNLESS;
    int kTHEN       = DefaultRubyParser.kTHEN;
    int kELSIF      = DefaultRubyParser.kELSIF;
    int kELSE       = DefaultRubyParser.kELSE;
    int kCASE       = DefaultRubyParser.kCASE;
    int kWHEN       = DefaultRubyParser.kWHEN;
    int kWHILE      = DefaultRubyParser.kWHILE;
    int kUNTIL      = DefaultRubyParser.kUNTIL;
    int kFOR        = DefaultRubyParser.kFOR;
    int kBREAK      = DefaultRubyParser.kBREAK;
    int kNEXT       = DefaultRubyParser.kNEXT;
    int kREDO       = DefaultRubyParser.kREDO;
    int kRETRY      = DefaultRubyParser.kRETRY;
    int kIN         = DefaultRubyParser.kIN;
    int kDO         = DefaultRubyParser.kDO;
    int kDO_COND    = DefaultRubyParser.kDO_COND;
    int kDO_BLOCK   = DefaultRubyParser.kDO_BLOCK;
    int kRETURN     = DefaultRubyParser.kRETURN;
    int kYIELD      = DefaultRubyParser.kYIELD;
    int kSUPER      = DefaultRubyParser.kSUPER;
    int kSELF       = DefaultRubyParser.kSELF;
    int kNIL        = DefaultRubyParser.kNIL;
    int kTRUE       = DefaultRubyParser.kTRUE;
    int kFALSE      = DefaultRubyParser.kFALSE;
    int kAND        = DefaultRubyParser.kAND;
    int kOR         = DefaultRubyParser.kOR;
    int kNOT        = DefaultRubyParser.kNOT;
    int kIF_MOD     = DefaultRubyParser.kIF_MOD;
    int kUNLESS_MOD = DefaultRubyParser.kUNLESS_MOD;
    int kWHILE_MOD  = DefaultRubyParser.kWHILE_MOD;
    int kUNTIL_MOD  = DefaultRubyParser.kUNTIL_MOD;
    int kRESCUE_MOD = DefaultRubyParser.kRESCUE_MOD;
    int kALIAS      = DefaultRubyParser.kALIAS;
    int kDEFINED    = DefaultRubyParser.kDEFINED;
    int klBEGIN     = DefaultRubyParser.klBEGIN;
    int klEND       = DefaultRubyParser.klEND;
    int k__LINE__   = DefaultRubyParser.k__LINE__;
    int k__FILE__   = DefaultRubyParser.k__FILE__;
    int k__ENCODING__ = DefaultRubyParser.k__ENCODING__;
    int kDO_LAMBDA = DefaultRubyParser.kDO_LAMBDA;

    int tIDENTIFIER = DefaultRubyParser.tIDENTIFIER;
    int tFID        = DefaultRubyParser.tFID;
    int tGVAR       = DefaultRubyParser.tGVAR;
    int tIVAR       = DefaultRubyParser.tIVAR;
    int tCONSTANT   = DefaultRubyParser.tCONSTANT;
    int tCVAR       = DefaultRubyParser.tCVAR;
    int tINTEGER    = DefaultRubyParser.tINTEGER;
    int tFLOAT      = DefaultRubyParser.tFLOAT;
    int tSTRING_CONTENT     = DefaultRubyParser.tSTRING_CONTENT;
    int tSTRING_BEG = DefaultRubyParser.tSTRING_BEG;
    int tSTRING_END = DefaultRubyParser.tSTRING_END;
    int tSTRING_DBEG= DefaultRubyParser.tSTRING_DBEG;
    int tSTRING_DVAR= DefaultRubyParser.tSTRING_DVAR;
    int tXSTRING_BEG= DefaultRubyParser.tXSTRING_BEG;
    int tREGEXP_BEG = DefaultRubyParser.tREGEXP_BEG;
    int tREGEXP_END = DefaultRubyParser.tREGEXP_END;
    int tWORDS_BEG      = DefaultRubyParser.tWORDS_BEG;
    int tQWORDS_BEG      = DefaultRubyParser.tQWORDS_BEG;
    int tBACK_REF   = DefaultRubyParser.tBACK_REF;
    int tBACK_REF2  = DefaultRubyParser.tBACK_REF2;
    int tNTH_REF    = DefaultRubyParser.tNTH_REF;

    int tUPLUS      = DefaultRubyParser.tUPLUS;
    int tUMINUS     = DefaultRubyParser.tUMINUS;
    int tUMINUS_NUM     = DefaultRubyParser.tUMINUS_NUM;
    int tPOW        = DefaultRubyParser.tPOW;
    int tCMP        = DefaultRubyParser.tCMP;
    int tEQ         = DefaultRubyParser.tEQ;
    int tEQQ        = DefaultRubyParser.tEQQ;
    int tNEQ        = DefaultRubyParser.tNEQ;
    int tGEQ        = DefaultRubyParser.tGEQ;
    int tLEQ        = DefaultRubyParser.tLEQ;
    int tANDOP      = DefaultRubyParser.tANDOP;
    int tOROP       = DefaultRubyParser.tOROP;
    int tMATCH      = DefaultRubyParser.tMATCH;
    int tNMATCH     = DefaultRubyParser.tNMATCH;
    int tDOT        = DefaultRubyParser.tDOT;
    int tDOT2       = DefaultRubyParser.tDOT2;
    int tDOT3       = DefaultRubyParser.tDOT3;
    int tAREF       = DefaultRubyParser.tAREF;
    int tASET       = DefaultRubyParser.tASET;
    int tLSHFT      = DefaultRubyParser.tLSHFT;
    int tRSHFT      = DefaultRubyParser.tRSHFT;
    int tCOLON2     = DefaultRubyParser.tCOLON2;

    int tCOLON3     = DefaultRubyParser.tCOLON3;
    int tOP_ASGN    = DefaultRubyParser.tOP_ASGN;
    int tASSOC      = DefaultRubyParser.tASSOC;
    int tLPAREN     = DefaultRubyParser.tLPAREN;
    int tLPAREN2     = DefaultRubyParser.tLPAREN2;
    int tRPAREN     = DefaultRubyParser.tRPAREN;
    int tLPAREN_ARG = DefaultRubyParser.tLPAREN_ARG;
    int tLBRACK     = DefaultRubyParser.tLBRACK;
    int tRBRACK     = DefaultRubyParser.tRBRACK;
    int tLBRACE     = DefaultRubyParser.tLBRACE;
    int tLBRACE_ARG     = DefaultRubyParser.tLBRACE_ARG;
    int tSTAR       = DefaultRubyParser.tSTAR;
    int tSTAR2      = DefaultRubyParser.tSTAR2;
    int tAMPER      = DefaultRubyParser.tAMPER;
    int tAMPER2     = DefaultRubyParser.tAMPER2;
    int tSYMBEG     = DefaultRubyParser.tSYMBEG;
    int tTILDE      = DefaultRubyParser.tTILDE;
    int tPERCENT    = DefaultRubyParser.tPERCENT;
    int tDIVIDE     = DefaultRubyParser.tDIVIDE;
    int tPLUS       = DefaultRubyParser.tPLUS;
    int tMINUS       = DefaultRubyParser.tMINUS;
    int tLT         = DefaultRubyParser.tLT;
    int tGT         = DefaultRubyParser.tGT;
    int tCARET      = DefaultRubyParser.tCARET;
    int tBANG       = DefaultRubyParser.tBANG;
    int tLCURLY     = DefaultRubyParser.tLCURLY;
    int tRCURLY     = DefaultRubyParser.tRCURLY;
    int tPIPE       = DefaultRubyParser.tPIPE;
    int tLAMBDA     = DefaultRubyParser.tLAMBDA;
    int tLAMBEG     = DefaultRubyParser.tLAMBEG;
    int tLABEL      = DefaultRubyParser.tLABEL;

    String[] operators = {"+@", "-@", "**", "<=>", "==", "===", "!=", ">=", "<=", "&&",
                          "||", "=~", "!~", "..", "...", "[]", "[]=", "<<", ">>", "::"};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy