X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FTokens.java;h=0148150787e8bbdaa1e61b776354e0f339d65129;hb=73131826a18c93af4fb04672bc3ec820e1197ad1;hp=8970e14e4bb11908895265e46302ee4f9fc35ceb;hpb=b1fa73c17b31f268fca5695d0876d7314fbacce3;p=org.ibex.js.git diff --git a/src/org/ibex/js/Tokens.java b/src/org/ibex/js/Tokens.java index 8970e14..0148150 100644 --- a/src/org/ibex/js/Tokens.java +++ b/src/org/ibex/js/Tokens.java @@ -1,4 +1,7 @@ -// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL] +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache Public Source License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + package org.ibex.js; /** this class contains a public static final int for each valid token */ @@ -96,6 +99,7 @@ interface Tokens { public static final int GRAMMAR = 78; // the grammar-definition operator (::=) public static final int ADD_TRAP = 79; // the add-trap operator (++=) public static final int DEL_TRAP = 80; // the del-trap operator (--=) + public static final int CASCADE = 81; // cascade expression - arg==true for write cascade public static final int MAX_TOKEN = DEL_TRAP; @@ -112,7 +116,7 @@ interface Tokens { "HOOK", "COLON", "INC", "DEC", "DOT", "FUNCTION", "IF", "ELSE", "SWITCH", "CASE", "DEFAULT", "WHILE", "DO", "FOR", "VAR", "WITH", "CATCH", "FINALLY", "RESERVED", "GRAMMAR", - "ADD_TRAP", "DEL_TRAP" + "ADD_TRAP", "DEL_TRAP", "CASCADE" }; }