Parser.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. #define REGEX_TRIGRAMS 1
  7. #include "Common.h"
  8. // FORWARD
  9. namespace Js
  10. {
  11. class ScriptContext;
  12. class JavascriptString;
  13. }
  14. namespace UnifiedRegex {
  15. struct RegexPattern;
  16. struct Program;
  17. template <typename T> class StandardChars;
  18. typedef StandardChars<uint8> UTF8StandardChars;
  19. typedef StandardChars<wchar_t> UnicodeStandardChars;
  20. #if ENABLE_REGEX_CONFIG_OPTIONS
  21. class DebugWriter;
  22. struct RegexStats;
  23. class RegexStatsDatabase;
  24. #endif
  25. }
  26. #include "ParserCommon.h"
  27. #include "alloc.h"
  28. #include "cmperr.h"
  29. #include "idiom.h"
  30. #include "popcode.h"
  31. #include "ptree.h"
  32. #include "tokens.h"
  33. #include "hash.h"
  34. #include "CharClassifier.h"
  35. #include "scan.h"
  36. #include "screrror.h"
  37. #include "rterror.h"
  38. #include "parse.h"
  39. #include "BackgroundParser.h"