| | |
| | | **
|
| | | ****************************************************************************/
|
| | |
|
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Linq;
|
| | | using System.Text;
|
| | |
|
| | | namespace QtVsTools.SyntaxAnalysis
|
| | | {
|
| | | using static CharClass;
|
| | |
| | | /// <summary><![CDATA[
|
| | | /// Equivalent to: [\S]
|
| | | /// ]]></summary>
|
| | | public static CharClassLiteral CharNonSpace
|
| | | private static CharClassLiteral CharNonSpace
|
| | | { get { return new CharClassLiteral { LiteralChars = @"\S" }; } }
|
| | |
|
| | | /// <summary><![CDATA[
|
| | |
| | | public static RegExpr SkipWs
|
| | | { get { return new Token(); } }
|
| | |
|
| | | static CharExprBuilder _Char = new CharExprBuilder();
|
| | | static readonly CharExprBuilder _Char = new CharExprBuilder();
|
| | | public static CharExprBuilder Char { get { return _Char; } }
|
| | | public static CharExprBuilder Chars { get { return _Char; } }
|
| | |
|
| | | static CharSetExprBuilder _CharSet = new CharSetExprBuilder();
|
| | | public static CharSetExprBuilder CharSet { get { return _CharSet; } }
|
| | | public static CharSetExprBuilder CharSet { get; } = new CharSetExprBuilder();
|
| | |
|
| | | static CharSetRawExprBuilder _CharSetRaw = new CharSetRawExprBuilder();
|
| | | public static CharSetRawExprBuilder CharSetRaw { get { return _CharSetRaw; } }
|
| | | public static CharSetRawExprBuilder CharSetRaw { get; } = new CharSetRawExprBuilder();
|
| | |
|
| | | static AssertExprBuilder _LookAhead = new AssertExprBuilder(AssertLookAhead);
|
| | | public static AssertExprBuilder LookAhead { get { return _LookAhead; } }
|
| | | public static AssertExprBuilder LookAhead { get; } = new AssertExprBuilder(AssertLookAhead);
|
| | |
|
| | | static AssertExprBuilder _LookBehind = new AssertExprBuilder(AssertLookBehind);
|
| | | public static AssertExprBuilder LookBehind { get { return _LookBehind; } }
|
| | | public static AssertExprBuilder LookBehind { get; } = new AssertExprBuilder(AssertLookBehind);
|
| | |
|
| | | public const SkipWhitespace SkipWs_Disable = SkipWhitespace.Disable;
|
| | | }
|