uk.co.badgersinfoil.metaas.dom
Interface ASFieldAccessExpression

All Superinterfaces:
Expression, ScriptElement

public interface ASFieldAccessExpression
extends Expression

An expression that accesses a field of an object, such as person().name.

NB when parsing ActionScript code, it is not possible to determine if some expressions are field-accesses or package-quilified-names (without semantic analysis, which metaas doesn't do). Attempting to parse an expression like a.B is therefore likely to produce an instance of ASFieldAccessExpression, even if it should actually be a package-qualified reference to a definition elsewhere.

See Also:
ActionScriptFactory.newFieldAccessExpression(Expression, String)

Method Summary
 java.lang.String getName()
           
 Expression getTargetExpression()
           
 void setName(java.lang.String name)
           
 void setTargetExpression(Expression expr)
           
 

Method Detail

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

getTargetExpression

Expression getTargetExpression()

setTargetExpression

void setTargetExpression(Expression expr)


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