edu.mit.ai.psg.jevaES
Class JNSBlock
java.lang.Object
|
+--edu.mit.ai.psg.jevaES.SimpleNode
|
+--edu.mit.ai.psg.jevaES.JevaNode
|
+--edu.mit.ai.psg.jevaES.JNSBlock
- public class JNSBlock
- extends JevaNode
- implements IStatementNode
Jeva parse Node for block Statements: {...}
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998 Massachusetts Institute of Technology
verifyTypes
public IEnv verifyTypes(IEnv env)
throws VerifyingException
- Sequentially verify each statement in block.
Each statement verified in environment possibly extended by
previous statements. Extensions made in block are NOT seen
outside block, so return original env.
- Specified by:
- verifyTypes in interface IStatementNode
eval
public IEnv eval(IEnv env)
throws AbruptCompletionException
- Sequentially evaluate each statement in block.
Each statement evaluated in environment possibly extended by
previous statements. Extensions made in block are NOT seen
outside block, so return original env.
- Specified by:
- eval in interface IStatementNode