Пример #1
0
		public void AddAlternative (Expression e) {
			Alternatives.Add (e);
		}
Пример #2
0
		public void Add (Expression e) {
			List.Add (e);
		}
Пример #3
0
		public void AppendExpression (Expression e) {
			Expressions.Add (e);
		}
Пример #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;
		}
Пример #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;
		}
Пример #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;
		}