uk.co.badgersinfoil.metaas.dom
Interface ASField

All Superinterfaces:
ASMember, Documentable, MetaTagable, ScriptElement

public interface ASField
extends ASMember

A field definition within an ActionScript class.

See Also:
ASClassType.newField(String, Visibility, String)

Method Summary
 Expression getInitializer()
          returns the initialiser expression for this field, or null if it has none.
 boolean isConst()
           
 void setConst(boolean isConst)
           
 void setInitializer(Expression expr)
           
 void setInitializer(java.lang.String expr)
          Sets the ActionScript expression defining the initial value for this ActionScript field.
 
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.ASMember
getName, getType, getVisibility, isStatic, setName, setStatic, setType, setVisibility
 
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.MetaTagable
getAllMetaTags, getFirstMetatag, getMetaTagsWithName, newMetaTag
 
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.Documentable
getDescriptionString, getDocComment, getDocumentation, setDescription, setDocComment
 

Method Detail

setInitializer

void setInitializer(java.lang.String expr)
Sets the ActionScript expression defining the initial value for this ActionScript field.


setInitializer

void setInitializer(Expression expr)

getInitializer

Expression getInitializer()
returns the initialiser expression for this field, or null if it has none.


setConst

void setConst(boolean isConst)

isConst

boolean isConst()


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