Beispiel #1
0
	public override void transitions(System.Collections.Queue wl, InputElement tok, int count) {
		state s;
		switch (tok.tag) {
		default: return;
		case "[":
			s = new itemSet_218(this, tok, count);
			wl.Enqueue(s);
			if (true
				) {
			s = this.shiftNonterm("rank-specifiersopt", count, tok.coord, "rank-specifiersopt :", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		case "%=":
		case ">=":
		case "^=":
		case "-":
		case "=":
		case "]":
		case "}":
		case "is":
		case "*":
		case ":":
		case "&&":
		case "+=":
		case ">>":
		case ".":
		case ">":
		case "^":
		case "+":
		case ";":
		case "{":
		case "--":
		case "-=":
		case "==":
		case ">>=":
		case "(":
		case "&=":
		case "%":
		case "/=":
		case "<<":
		case "as":
		case "||":
		case "/":
		case "?":
		case "!=":
		case "++":
		case "<<=":
		case ",":
		case "<":
		case "|":
		case "*=":
		case "->":
		case ")":
		case "&":
		case "<=":
		case "|=":
			if (true
				) {
			s = this.shiftNonterm("rank-specifiersopt", count, tok.coord, "rank-specifiersopt :", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		} // switch
	} // transitions
Beispiel #2
0
	public override void transitions(System.Collections.Queue wl, InputElement tok, int count) {
		state s;
		switch (tok.tag) {
		default: return;
		case "[":
			s = new itemSet_218(this, tok, count);
			wl.Enqueue(s);
			if (true
				) {
			s = this.below.shiftNonterm("unmanaged-type", count, tok.coord, "unmanaged-type : type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		case ")":
			s = new itemSet_343(this, tok, count);
			wl.Enqueue(s);
			if (true
				) {
			s = this.below.shiftNonterm("unmanaged-type", count, tok.coord, "unmanaged-type : type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		case "*":
			if (true
				) {
			s = this.below.shiftNonterm("unmanaged-type", count, tok.coord, "unmanaged-type : type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		} // switch
	} // transitions
Beispiel #3
0
	public override void transitions(System.Collections.Queue wl, InputElement tok, int count) {
		state s;
		switch (tok.tag) {
		default: return;
		case ";":
		case "==":
		case ">=":
		case "]":
		case "}":
		case "as":
		case "is":
		case "||":
		case ":":
		case "?":
		case "!=":
		case ",":
		case "<":
		case "|":
		case "&&":
		case "&":
		case ">":
		case "^":
		case "<=":
			if (true
				) {
			s = this.below.below.below.shiftNonterm("relational-expression", count, tok.coord, "relational-expression : relational-expression is type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		case ")":
			if (true
				) {
			s = this.below.shiftNonterm("unmanaged-type", count, tok.coord, "unmanaged-type : type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			if (true
				) {
			s = this.below.below.below.shiftNonterm("relational-expression", count, tok.coord, "relational-expression : relational-expression is type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		case "[":
			s = new itemSet_218(this, tok, count);
			wl.Enqueue(s);
			if (true
				) {
			s = this.below.shiftNonterm("unmanaged-type", count, tok.coord, "unmanaged-type : type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		case "*":
			if (true
				) {
			s = this.below.shiftNonterm("unmanaged-type", count, tok.coord, "unmanaged-type : type", this);
				if (s != null) {
					s.transitions(wl, tok, count);
				}
			}
			break;
		} // switch
	} // transitions