protected LetterTerminal(LetterTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
		}
		protected BooleanTerminal(BooleanTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
			this.CaseSensitive = other.CaseSensitive;
			this.TrueValues = other.TrueValues != null ? (string[])other.TrueValues.Clone() : null;
			this.FalseValues = other.FalseValues != null ? (string[])other.FalseValues.Clone() : null;
		}
Esempio n. 3
0
		protected GroupParser(GroupParser other, ParserCloneArgs chain)
			: base(other, chain)
		{
			this.Line = chain.Clone(other.Line);
			this.Start = chain.Clone(other.Start);
			this.End = chain.Clone(other.End);
		}
Esempio n. 4
0
 protected GroupParser(GroupParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     this.Line  = chain.Clone(other.Line);
     this.Start = chain.Clone(other.Start);
     this.End   = chain.Clone(other.End);
 }
Esempio n. 5
0
 protected BooleanTerminal(BooleanTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
     this.CaseSensitive = other.CaseSensitive;
     this.TrueValues    = other.TrueValues != null ? (string[])other.TrueValues.Clone() : null;
     this.FalseValues   = other.FalseValues != null ? (string[])other.FalseValues.Clone() : null;
 }
Esempio n. 6
0
 protected NumberParser(NumberParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     AllowSign = other.AllowSign;
     AllowExponent = other.AllowExponent;
     DecimalSeparator = other.DecimalSeparator;
     ValueType = other.ValueType;
 }
Esempio n. 7
0
 protected NumberParser(NumberParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     AllowSign        = other.AllowSign;
     AllowExponent    = other.AllowExponent;
     DecimalSeparator = other.DecimalSeparator;
     ValueType        = other.ValueType;
 }
Esempio n. 8
0
 protected UntilParser(UntilParser other, ParserCloneArgs args)
     : base(other, args)
 {
     Minimum = other.Minimum;
     Maximum = other.Maximum;
     Skip    = other.Skip;
     Capture = other.Capture;
 }
Esempio n. 9
0
		protected TagParser(TagParser other, ParserCloneArgs args)
			: base(other, args)
		{
			AddTag = other.AddTag;
			IncludeTag = other.IncludeTag;
			ExcludeTag = other.ExcludeTag;
			AllowWithDifferentPosition = other.AllowWithDifferentPosition;
		}
Esempio n. 10
0
 protected TagParser(TagParser other, ParserCloneArgs args)
     : base(other, args)
 {
     AddTag     = other.AddTag;
     IncludeTag = other.IncludeTag;
     ExcludeTag = other.ExcludeTag;
     AllowWithDifferentPosition = other.AllowWithDifferentPosition;
 }
Esempio n. 11
0
 protected StringParser(StringParser other, ParserCloneArgs args)
     : base(other, args)
 {
     this.BeginQuoteCharacters = other.BeginQuoteCharacters != null ? (char[])other.BeginQuoteCharacters.Clone() : null;
     this.EndQuoteCharacters = other.EndQuoteCharacters != null ? (char[])other.EndQuoteCharacters.Clone() : null;
     this.AllowDoubleQuote = other.AllowDoubleQuote;
     this.AllowEscapeCharacters = other.AllowEscapeCharacters;
     this.AllowNonQuoted = other.AllowNonQuoted;
     this.NonQuotedLetter = args.Clone(other.NonQuotedLetter);
 }
Esempio n. 12
0
 protected GroupParser(GroupParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     this.line = chain.Clone(other.line);
     this.start = chain.Clone(other.start);
     this.end = chain.Clone(other.end);
     SetLine();
     SetBlock();
     SetInner();
 }
Esempio n. 13
0
 protected RepeatParser(RepeatParser other, ParserCloneArgs args)
     : base(other, args)
 {
     Minimum      = other.Minimum;
     Maximum      = other.Maximum;
     Until        = args.Clone(other.Until);
     SkipUntil    = other.SkipUntil;
     CaptureUntil = other.CaptureUntil;
     Separator    = args.Clone(other.Separator);
 }
Esempio n. 14
0
 protected StringParser(StringParser other, ParserCloneArgs args)
     : base(other, args)
 {
     this.BeginQuoteCharacters  = other.BeginQuoteCharacters != null ? (char[])other.BeginQuoteCharacters.Clone() : null;
     this.EndQuoteCharacters    = other.EndQuoteCharacters != null ? (char[])other.EndQuoteCharacters.Clone() : null;
     this.AllowDoubleQuote      = other.AllowDoubleQuote;
     this.AllowEscapeCharacters = other.AllowEscapeCharacters;
     this.AllowNonQuoted        = other.AllowNonQuoted;
     this.NonQuotedLetter       = args.Clone(other.NonQuotedLetter);
 }
Esempio n. 15
0
 protected GroupParser(GroupParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     this.line  = chain.Clone(other.line);
     this.start = chain.Clone(other.start);
     this.end   = chain.Clone(other.end);
     SetLine();
     SetBlock();
     SetInner();
 }
Esempio n. 16
0
 protected ExceptParser(ExceptParser other, ParserCloneArgs args)
     : base(other, args)
 {
     Except = args.Clone(other.Except);
 }
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new LiteralTerminal(this, args));
 }
Esempio n. 18
0
		protected EndParser(EndParser other, ParserCloneArgs chain)
			: base(other, chain)
		{
		}
Esempio n. 19
0
 protected LetterOrDigitTerminal(LetterOrDigitTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 20
0
		public override Parser Clone(ParserCloneArgs args)
		{
			return new LetterTerminal(this, args);
		}
Esempio n. 21
0
 protected PunctuationTerminal(PunctuationTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 22
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new ControlTerminal(this, args));
 }
Esempio n. 23
0
 protected ControlTerminal(ControlTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 24
0
 private AnySurrogatePairTerminal(AnySurrogatePairTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 25
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new AnySurrogatePairTerminal(this, args));
 }
 public override Parser Clone(ParserCloneArgs args)
 {
     return new AnySurrogatePairTerminal(this, args);
 }
        private AnySurrogatePairTerminal(AnySurrogatePairTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
		}
Esempio n. 28
0
		protected CharSetTerminal(CharSetTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
			this.Characters = other.characters != null ? (char[])other.characters.Clone() : null;
		}
Esempio n. 29
0
		public override Parser Clone(ParserCloneArgs args)
		{
			return new ControlTerminal(this, args);
		}
Esempio n. 30
0
 protected DigitTerminal(DigitTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 31
0
 protected SequenceParser(SequenceParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     Separator = chain.Clone(other.Separator);
 }
Esempio n. 32
0
		protected SequenceParser(SequenceParser other, ParserCloneArgs chain)
			: base(other, chain)
		{
			Separator = chain.Clone(other.Separator);
		}
Esempio n. 33
0
 protected EmptyParser(EmptyParser other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 34
0
		public override Parser Clone(ParserCloneArgs args)
		{
			return new SequenceParser(this, args);
		}
		public override Parser Clone(ParserCloneArgs args)
		{
			return new PunctuationTerminal(this, args);
		}
Esempio n. 36
0
 protected SingleCharTerminal(SingleCharTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
     this.Character = other.character;
 }
Esempio n. 37
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new LetterOrDigitTerminal(this, args));
 }
Esempio n. 38
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new RepeatCharTerminal(this, args));
 }
Esempio n. 39
0
 protected SymbolTerminal(SymbolTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }
Esempio n. 40
0
 protected RepeatCharTerminal(RepeatCharTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
     _items = new List <RepeatCharItem>(other._items.Select(r => (RepeatCharItem)r.Clone()));
 }
 protected LiteralTerminal(LiteralTerminal other, ParserCloneArgs chain)
     : base(other, chain)
 {
     CaseSensitive = other.CaseSensitive;
     Value         = other.Value;
 }
Esempio n. 42
0
 protected StartParser(StartParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
 }
Esempio n. 43
0
		protected StartParser(StartParser other, ParserCloneArgs chain)
			: base(other, chain)
		{
		}
		protected CharRangeTerminal(CharRangeTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
			this.Start = other.Start;
			this.End = other.End;
		}
Esempio n. 45
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return new ExceptParser(this, args);
 }
Esempio n. 46
0
		public override Parser Clone(ParserCloneArgs args)
		{
			return new GroupParser(this, args);
		}
Esempio n. 47
0
		protected ControlTerminal(ControlTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
		}
Esempio n. 48
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new NumberParser(this, args));
 }
Esempio n. 49
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return new NumberParser(this, args);
 }
		protected PunctuationTerminal(PunctuationTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
		}
Esempio n. 51
0
 public override Parser Clone(ParserCloneArgs args)
 {
     throw new NotImplementedException();
 }
Esempio n. 52
0
		protected SymbolTerminal(SymbolTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
		}
Esempio n. 53
0
		protected OptionalParser(OptionalParser other, ParserCloneArgs chain)
			: base(other, chain)
		{
		}
		public override Parser Clone(ParserCloneArgs args)
		{
			return new RepeatCharTerminal(this, args);
		}
Esempio n. 55
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new PunctuationTerminal(this, args));
 }
		protected RepeatCharTerminal(RepeatCharTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
			_items = new List<RepeatCharItem>(other._items.Select(r => (RepeatCharItem)r.Clone()));
		}
Esempio n. 57
0
 public override Parser Clone(ParserCloneArgs args)
 {
     return(new StartParser(this, args));
 }
Esempio n. 58
0
		public override Parser Clone(ParserCloneArgs args)
		{
			return new CharSetTerminal(this, args);
		}
Esempio n. 59
0
 protected CharTerminal(CharTerminal other, ParserCloneArgs chain)
     : base(other, chain)
 {
     this.Inverse       = other.Inverse;
     this.CaseSensitive = other.CaseSensitive;
 }
 protected SurrogatePairTerminal(SurrogatePairTerminal other, ParserCloneArgs args) 
     : base(other, args)
 {
     Inverse = other.Inverse;
 }