Example #1
0
		public void AddAlternative (Expression e) {
			Alternatives.Add (e);
		}
Example #2
0
		public void Add (Expression e) {
			List.Add (e);
		}
Example #3
0
		public void AppendExpression (Expression e) {
			Expressions.Add (e);
		}
Example #4
0
		public AnchorInfo (Expression expr, int offset, int width, Position pos) {
			this.expr = expr;
			this.offset = offset;
			this.width = width;

			this.pos = pos;

			this.str = null;
			this.ignore = false;
		}
Example #5
0
		public AnchorInfo (Expression expr, int offset, int width, string str, bool ignore) {
			this.expr = expr;
			this.offset = offset;
			this.width = width;

			this.str = ignore ? str.ToLower () : str;

			this.ignore = ignore;
			this.pos = Position.Any;
		}
Example #6
0
		public AnchorInfo (Expression expr, int width) {
			this.expr = expr;
			this.offset = 0;
			this.width = width;

			this.str = null;
			this.ignore = false;
			this.pos = Position.Any;
		}