Loyc.Ecs.Parser.EcsParser.Scan_IdAtom C# (CSharp) Method

Scan_IdAtom() private method

private Scan_IdAtom ( ) : bool
return bool
		bool Scan_IdAtom()
		{
			// Line 176: ( TT.Substitute Atom | TT.Operator AnyOperator | (TT.Id|TT.TypeKeyword) | IdNotLinqKeyword )
			switch (LA0) {
			case TT.Substitute:
				{
					if (!TryMatch((int) TT.Substitute))
						return false;
					if (!Scan_Atom())
						return false;
				}
				break;
			case TT.Operator:
				{
					if (!TryMatch((int) TT.Operator))
						return false;
					if (!Scan_AnyOperator())
						return false;
				}
				break;
			case TT.Id: case TT.TypeKeyword:
				if (!TryMatch((int) TT.Id, (int) TT.TypeKeyword))
					return false;
				break;
			default:
				if (!Scan_IdNotLinqKeyword())
					return false;
				break;
			}
			return true;
		}
	
EcsParser