Esempio n. 1
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. 2
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. 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);
     SetLine();
     SetBlock();
     SetInner();
 }
Esempio n. 4
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. 5
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. 6
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. 7
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. 8
0
 protected SequenceParser(SequenceParser other, ParserCloneArgs chain)
     : base(other, chain)
 {
     Separator = chain.Clone(other.Separator);
 }
Esempio n. 9
0
 protected ExceptParser(ExceptParser other, ParserCloneArgs args)
     : base(other, args)
 {
     Except = args.Clone(other.Except);
 }
Esempio n. 10
0
		protected SequenceParser(SequenceParser other, ParserCloneArgs chain)
			: base(other, chain)
		{
			Separator = chain.Clone(other.Separator);
		}
Esempio n. 11
0
 protected ExceptParser(ExceptParser other, ParserCloneArgs args)
     : base(other, args)
 {
     Except = args.Clone(other.Except);
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new copy of the <see cref="Grammar"/> class
 /// </summary>
 /// <param name="other">Other object to copy</param>
 /// <param name="args">Arguments for the copy</param>
 protected Grammar(Grammar other, ParserCloneArgs args)
 {
     EnableMatchEvents = other.EnableMatchEvents;
     Separator         = args.Clone(other.Separator);
     CaseSensitive     = other.CaseSensitive;
 }