private Status executeVariableDeclaration ( Decl . Variable stmt , CallStack frame ) { // We only need to do something if this has an initialiser if ( stmt . hasInitialiser ( ) ) { RValue value = executeExpression ( ANY_T , stmt . getInitialiser ( ) , frame ) ; frame . putLocal ( stmt . getName ( ) , value ) ; } return Status . NEXT ; }
Execute a variable declaration statement at a given point in the function or method body