// // openmapi.org - CompactTeaSharp - MLog - Symbols.cs // // Copyright 2009 Topalis AG // // Author: Johannes Roith // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program 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 Affero General Public License for more details. // using System; namespace CompactTeaSharp.Mlog { /// /// Enumeration of the symbols used. /// enum Symbols { EOF = 0, // (EOF) Error = 1, // (Error) WhiteSpace = 2, // (Whitespace) CommentEnd = 3, // (Comment End) CommentStart = 4, // (Comment Start) LParan = 5, // '(' RParan = 6, // ')' Times = 7, // '*' Comma = 8, // ',' Colon = 9, // ':' Semi = 10, // ';' LBracket = 11, // '[' RBracket = 12, // ']' LBrace = 13, // '{' RBrace = 14, // '}' Lt = 15, // '<' Eq = 16, // '=' Gt = 17, // '>' Body = 18, // body Bool = 19, // bool BoolT = 20, // 'bool_t' Case = 21, // case Char = 22, // char Const = 23, // const Constant = 24, // constant Default = 25, // default Double = 26, // double Enum = 27, // enum Float = 28, // float Hyper = 29, // hyper Identifier = 30, // identifier Int = 31, // int Long = 32, // long Opaque = 33, // opaque Program = 34, // program Quadruple = 35, // quadruple Short = 36, // short String = 37, // string Struct = 38, // struct Switch = 39, // switch TypeDef = 40, // typedef UInt = 41, // 'u_int' Ulong = 42, // 'u_long' UShort = 43, // 'u_short' Union = 44, // union Unsigned = 45, // unsigned Version = 46, // version Void = 47, // void Assignment = 48, // Assignments = 49, // Call = 50, // Calls = 51, // Case2 = 52, // CaseDefault = 53, // Cases = 54, // ConstantDef = 55, // Declaration = 56, // Declarations = 57, // Definition = 58, // Definitions = 59, // EnumBody = 60, // EnumTypeSpec = 61, // Identifiers = 62, // OptionalUnsigned = 63, // OptionalValue = 64, // Program2 = 65, // Specification = 66, // StructBody = 67, // StructTypeSpec = 68, // TypeDef2 = 69, // TypeSpecifier = 70, // UnionBody = 71, // UnionTypeSpec = 72, // Value = 73, // Version2 = 74, // Versions = 75 // }; }