Check() публичный Метод

public Check ( ) : bool
Результат bool
Пример #1
0
    public bool Parse()
    {
	//e = null;
	e = MatchStm();
	//	Match(TokenType.EoFSym);
	MatchToken(TokenType.EOFSYM);
	Tc = new TypeCheck(e, Functions);
	bool tsuccess = Tc.Check();
	e = Tc.e;                                       //Exp is modified in TypeCheck
	return success && tsuccess;                     //Return success if both parsing and typechecking succeed.
    }
Пример #2
0
    public bool Parse()
    {
        //e = null;
        e = MatchStm();
        //	Match(TokenType.EoFSym);
        MatchToken(TokenType.EOFSYM);
        Tc = new TypeCheck(e, Functions);
        bool tsuccess = Tc.Check();

        e = Tc.e;                                       //Exp is modified in TypeCheck
        return(success && tsuccess);                    //Return success if both parsing and typechecking succeed.
    }