Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
michael@0 | 2 | /* vim: set ts=2 sw=2 et tw=78: */ |
michael@0 | 3 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 6 | |
michael@0 | 7 | #ifndef nsParserConstants_h_ |
michael@0 | 8 | #define nsParserConstants_h_ |
michael@0 | 9 | const char16_t kNewLine = '\n'; |
michael@0 | 10 | const char16_t kCR = '\r'; |
michael@0 | 11 | const char16_t kLF = '\n'; |
michael@0 | 12 | const char16_t kTab = '\t'; |
michael@0 | 13 | const char16_t kSpace = ' '; |
michael@0 | 14 | const char16_t kQuote = '"'; |
michael@0 | 15 | const char16_t kApostrophe = '\''; |
michael@0 | 16 | const char16_t kLessThan = '<'; |
michael@0 | 17 | const char16_t kGreaterThan = '>'; |
michael@0 | 18 | const char16_t kAmpersand = '&'; |
michael@0 | 19 | const char16_t kForwardSlash = '/'; |
michael@0 | 20 | const char16_t kBackSlash = '\\'; |
michael@0 | 21 | const char16_t kEqual = '='; |
michael@0 | 22 | const char16_t kMinus = '-'; |
michael@0 | 23 | const char16_t kPlus = '+'; |
michael@0 | 24 | const char16_t kExclamation = '!'; |
michael@0 | 25 | const char16_t kSemicolon = ';'; |
michael@0 | 26 | const char16_t kHashsign = '#'; |
michael@0 | 27 | const char16_t kAsterisk = '*'; |
michael@0 | 28 | const char16_t kUnderbar = '_'; |
michael@0 | 29 | const char16_t kComma = ','; |
michael@0 | 30 | const char16_t kLeftParen = '('; |
michael@0 | 31 | const char16_t kRightParen = ')'; |
michael@0 | 32 | const char16_t kLeftBrace = '{'; |
michael@0 | 33 | const char16_t kRightBrace = '}'; |
michael@0 | 34 | const char16_t kQuestionMark = '?'; |
michael@0 | 35 | const char16_t kLeftSquareBracket = '['; |
michael@0 | 36 | const char16_t kRightSquareBracket = ']'; |
michael@0 | 37 | const char16_t kNullCh = '\0'; |
michael@0 | 38 | |
michael@0 | 39 | #endif // nsParserConstants_h_ |