Package | Description |
---|---|
org.apache.flex.compiler.internal.codegen.databinding |
Modifier and Type | Field and Description |
---|---|
protected List<BindingInfo> |
WatcherInfoBase.bindingInfoList
all of the bindings that wish to listen to this watcher
|
Modifier and Type | Method and Description |
---|---|
static BindingInfo |
BindingAnalyzer.analyze(IMXMLBindingNode node,
BindingDatabase bindingDataBase,
Collection<ICompilerProblem> problems,
int bindingIndex,
boolean reverseSourceAndDest,
MXMLClassDirectiveProcessor host)
BindingInfo ctor does all the work.
|
static BindingInfo |
BindingAnalyzer.analyze(IMXMLDataBindingNode node,
BindingDatabase bindingDataBase,
Collection<ICompilerProblem> problems,
int bindingIndex,
MXMLClassDirectiveProcessor host)
Analyze an IMXMLDataBindingNode (the ones we see when
there are curly braces)
BindingInfo ctor does all the work.
|
BindingInfo |
BindingDatabase.analyze(IMXMLDataBindingNode node,
Collection<ICompilerProblem> problems,
MXMLClassDirectiveProcessor host)
Will do the binding analysis on a single binding node.
|
BindingInfo |
MXMLBindingDirectiveHelper.visitNode(IMXMLDataBindingNode node)
host should visit all the databinding nodes before trying to codegen them
|
Modifier and Type | Method and Description |
---|---|
Set<BindingInfo> |
BindingDatabase.getBindingInfo() |
List<BindingInfo> |
WatcherInfoBase.getBindings()
get a list of the BindingInfo objects that correspond to the Binding objects that will
be associated with the Watcher
|
Modifier and Type | Method and Description |
---|---|
void |
WatcherInfoBase.addBinding(BindingInfo bindingInfo) |
int |
BindingInfo.compareTo(BindingInfo o) |
Modifier and Type | Method and Description |
---|---|
static void |
BindingCodeGenUtils.makeFunctionWatcher(InstructionList insns,
FlexProject project,
IABCVisitor emitter,
String functionName,
List<String> eventNames,
List<BindingInfo> bindingInfo,
IExpressionNode[] params)
Generates the ABC to instantiate a FunctionReturnWatcher
* VM context:
on entry: nothing on stack
local1 = this.
|
static void |
BindingCodeGenUtils.makePropertyWatcher(boolean makeStaticWatcher,
InstructionList insns,
String propertyName,
List<String> eventNames,
List<BindingInfo> bindingInfo,
MethodInfo propertyGetterFunction,
FlexProject project)
Generates the ABC to instantiate a PropertyWatcher
Can only generate one special case:
single event (Constructor actually takes an array of events. we could easily add that
no property getter function (we use null)
Note that we are passing in references to BindingInfo.
|
static void |
BindingCodeGenUtils.makeXMLWatcher(InstructionList insns,
String propertyName,
List<BindingInfo> bindingInfo,
FlexProject project)
Generate instructions to instantiate an mx.binding.XMLWatcher
|
Constructor and Description |
---|
WatcherAnalyzer(BindingDatabase bindingDataBase,
Collection<ICompilerProblem> problems,
BindingInfo bindingInfo,
ICompilerProject project)
Constructor
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.