org.glassfish.pfl.dynamic.codegen.impl
Interface VariableInternal

All Superinterfaces:
AttributedObject, Expression, ExpressionInternal, Node, Statement, Variable
All Known Implementing Classes:
ExpressionFactory.VariableImpl

public interface VariableInternal
extends ExpressionInternal, Variable

Author:
ken

Method Summary
 void close()
          Mark the variable so that it is no longer in scope.
 boolean isAvailable()
          Returns true if this variable is still in scope.
 
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.ExpressionInternal
isAssignable, type
 
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.Node
accept, copy, copy, getAncestor, id, parent, parent
 
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.AttributedObject
attributes, get, set
 
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.spi.Variable
ident, type
 

Method Detail

isAvailable

boolean isAvailable()
Returns true if this variable is still in scope. Only variables still in scope may be referenced in expressions.


close

void close()
Mark the variable so that it is no longer in scope.



Copyright © 2013 Oracle. All Rights Reserved.