예제 #1
0
	public override void transitions(System.Collections.Queue wl, InputElement tok, int count) {
		state s;
		switch (tok.tag) {
		default: return;
		case "byte":
			s = new itemSet_96(this, tok, count);
			wl.Enqueue(s);
			break;
		case "uint":
			s = new itemSet_97(this, tok, count);
			wl.Enqueue(s);
			break;
		case "delegate":
			s = new itemSet_79(this, tok, count);
			wl.Enqueue(s);
			break;
		case "enum":
			s = new itemSet_80(this, tok, count);
			wl.Enqueue(s);
			break;
		case "interface":
			s = new itemSet_81(this, tok, count);
			wl.Enqueue(s);
			break;
		case "struct":
			s = new itemSet_82(this, tok, count);
			wl.Enqueue(s);
			break;
		case "class":
			s = new itemSet_83(this, tok, count);
			wl.Enqueue(s);
			break;
		case "const":
			s = new itemSet_518(this, tok, count);
			wl.Enqueue(s);
			break;
		case "sbyte":
			s = new itemSet_100(this, tok, count);
			wl.Enqueue(s);
			break;
		case "double":
			s = new itemSet_101(this, tok, count);
			wl.Enqueue(s);
			break;
		case "object":
			s = new itemSet_102(this, tok, count);
			wl.Enqueue(s);
			break;
		case "int":
			s = new itemSet_103(this, tok, count);
			wl.Enqueue(s);
			break;
		case "char":
			s = new itemSet_104(this, tok, count);
			wl.Enqueue(s);
			break;
		case "void":
			s = new itemSet_105(this, tok, count);
			wl.Enqueue(s);
			break;
		case "implicit":
			s = new itemSet_520(this, tok, count);
			wl.Enqueue(s);
			break;
		case "ushort":
			s = new itemSet_107(this, tok, count);
			wl.Enqueue(s);
			break;
		case "bool":
			s = new itemSet_108(this, tok, count);
			wl.Enqueue(s);
			break;
		case "long":
			s = new itemSet_109(this, tok, count);
			wl.Enqueue(s);
			break;
		case "identifier":
			s = new itemSet_523(this, tok, count);
			wl.Enqueue(s);
			break;
		case "string":
			s = new itemSet_111(this, tok, count);
			wl.Enqueue(s);
			break;
		case "short":
			s = new itemSet_113(this, tok, count);
			wl.Enqueue(s);
			break;
		case "explicit":
			s = new itemSet_514(this, tok, count);
			wl.Enqueue(s);
			break;
		case "decimal":
			s = new itemSet_115(this, tok, count);
			wl.Enqueue(s);
			break;
		case "ulong":
			s = new itemSet_116(this, tok, count);
			wl.Enqueue(s);
			break;
		case "~":
			s = new itemSet_588(this, tok, count);
			wl.Enqueue(s);
			break;
		case "event":
			s = new itemSet_515(this, tok, count);
			wl.Enqueue(s);
			break;
		case "float":
			s = new itemSet_118(this, tok, count);
			wl.Enqueue(s);
			break;
		} // switch
	} // transitions
예제 #2
0
	public override void transitions(System.Collections.Queue wl, InputElement tok, int count) {
		state s;
		switch (tok.tag) {
		default: return;
		case "byte":
			s = new itemSet_96(this, tok, count);
			wl.Enqueue(s);
			break;
		case "uint":
			s = new itemSet_97(this, tok, count);
			wl.Enqueue(s);
			break;
		case "identifier":
			s = new itemSet_71(this, tok, count);
			wl.Enqueue(s);
			break;
		case "sbyte":
			s = new itemSet_100(this, tok, count);
			wl.Enqueue(s);
			break;
		case "double":
			s = new itemSet_101(this, tok, count);
			wl.Enqueue(s);
			break;
		case "object":
			s = new itemSet_102(this, tok, count);
			wl.Enqueue(s);
			break;
		case "int":
			s = new itemSet_103(this, tok, count);
			wl.Enqueue(s);
			break;
		case "char":
			s = new itemSet_104(this, tok, count);
			wl.Enqueue(s);
			break;
		case "void":
			s = new itemSet_253(this, tok, count);
			wl.Enqueue(s);
			break;
		case "ushort":
			s = new itemSet_107(this, tok, count);
			wl.Enqueue(s);
			break;
		case "bool":
			s = new itemSet_108(this, tok, count);
			wl.Enqueue(s);
			break;
		case "long":
			s = new itemSet_109(this, tok, count);
			wl.Enqueue(s);
			break;
		case "string":
			s = new itemSet_111(this, tok, count);
			wl.Enqueue(s);
			break;
		case "short":
			s = new itemSet_113(this, tok, count);
			wl.Enqueue(s);
			break;
		case "decimal":
			s = new itemSet_115(this, tok, count);
			wl.Enqueue(s);
			break;
		case "ulong":
			s = new itemSet_116(this, tok, count);
			wl.Enqueue(s);
			break;
		case "float":
			s = new itemSet_118(this, tok, count);
			wl.Enqueue(s);
			break;
		} // switch
	} // transitions