TreeConstants.cs revision 324c4644fee44b9898524c09511bd33c3f12e2df
14ee2ad04344446e610172a0e73949212923014dfSebastian Redl/* 22cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * [The "BSD licence"] 32cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Copyright (c) 2005-2008 Terence Parr 42cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * All rights reserved. 52cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * 62cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Conversion to C#: 72cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * Copyright (c) 2008-2009 Sam Harwell, Pixel Mine, Inc. 82cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * All rights reserved. 92cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * 10a4232eb646d89e7d52424bb42eb87d9061f39e63Sebastian Redl * Redistribution and use in source and binary forms, with or without 112cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * modification, are permitted provided that the following conditions 122cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * are met: 132cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * 1. Redistributions of source code must retain the above copyright 147faa2ec03a7ef120ac165bb45b6c70a8b20c9f1cSebastian Redl * notice, this list of conditions and the following disclaimer. 150eca89e9890db4d8336ce762a5b359a1d58ca02bArgyrios Kyrtzidis * 2. Redistributions in binary form must reproduce the above copyright 162cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * notice, this list of conditions and the following disclaimer in the 172cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * documentation and/or other materials provided with the distribution. 182cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * 3. The name of the author may not be used to endorse or promote products 1989eaf3af92c72c0c1aae807644e39cabc461d685Argyrios Kyrtzidis * derived from this software without specific prior written permission. 20651f13cea278ec967336033dd032faef0e9fc2ecStephen Hines * 2155fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 220b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 237a1fad38256eb4c5129359be85ba1ea1678eb5c9John McCall * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 242cf2634ffdb4f7c8d46cef3f8e60a55993f1c57aDouglas Gregor * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25a1ee0c548b8aa4aaf93d1917e304e3da13171a08John McCall * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2614f79002e58556798e86168c63e48d533287eda5Douglas Gregor * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2710e286aa8d39fb51a21412850265d9dae74613eeChris Lattner * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 283251ceb90b3fec68e86d6dcfa58836e20a7205c3Douglas Gregor * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2914f79002e58556798e86168c63e48d533287eda5Douglas Gregor * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30bd94500d3aa60092fb0f1e90f53fb0d03fa502a8Douglas Gregor * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 312bec0410d268779f601bd509e0302a500af7ac6aDouglas Gregor */ 3257016dda61498294120b1a881d9e6606337b29d9Douglas Gregor 33ab41e63821dc60ad144d0684df8d79a9eef86b75Douglas Gregornamespace Antlr.Runtime.Tree 340a0d2b179085a52c10402feebeb6db8b4d96a140Douglas Gregor{ 3555fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth public static class TreeConstants 3655fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth { 3755fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth public static readonly ITree INVALID_NODE = new CommonTree( Tokens.Invalid ); 3855fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth } 3955fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth} 4055fc873017f10f6f566b182b70f6fc22aefa3464Chandler Carruth