uk.co.badgersinfoil.metaas.dom
Interface ASDeclarationStatement

All Superinterfaces:
Statement

public interface ASDeclarationStatement
extends Statement

Represents a statement that declares a variable.


Method Summary
 boolean isConstant()
          Returns false if this is a declaration using the var keyword (the default), and true is this is a declaration using the const keyword.
 void setContant(boolean constant)
          If given true, this declaration will use the const keyword, if given false, this declaration will use the var keyword.
 

Method Detail

isConstant

boolean isConstant()
Returns false if this is a declaration using the var keyword (the default), and true is this is a declaration using the const keyword.


setContant

void setContant(boolean constant)
If given true, this declaration will use the const keyword, if given false, this declaration will use the var keyword.



Copyright © 2006-2007 David Holroyd. All Rights Reserved.