-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.IML.IMLContext
Jean-Philippe Bruyère edited this page Aug 3, 2019
·
2 revisions
Context while parsing IML, this will store what's needed only while parsing and not during instancing
namespace: Crow.IML
IMLContext
public class IMLContext
⬜ | prototype | description |
---|---|---|
IMLContext (Type rootType) |
__ |
⬜ | name | description |
---|---|---|
CurrentDataSourceType |
__ | |
CurrentNodeAddress |
__ | |
CurrentNodeHasDataSourceType |
__ | |
CurrentNodeType |
__ |
⬜ | prototype | description |
---|---|---|
void emitCachedDelegateHandlerAddition(int index, EventInfo evt, NodeAddress address=null) |
Emits cached delegate handler addition in the context of instantiator (ctx) | |
void emitHandlerMethodAddition(EventBinding bd) |
Emits the handler method addition, done at end of parsing, Loc_0 is root node instance | |
Node PopNode() |
Pops node and set curDS type to previous one in node on top of the stack | |
void PushNode(Type crowType, int _index=0) |
Pushs new node and set datasourcetype to current ds type | |
void ResolveName(BindingDefinition bd) |
__ | |
void ResolveNamedTargets() |
__ | |
void SetDataSourceTypeForCurrentNode(Type dsType) |
__ | |
void StoreCurrentName(string name) |
Stores all the names found in current iml for binding resolution if any of them are targeting named widget | |
void StorePropertyBinding(NodeAddress origNA, string origMember, NodeAddress destNA, string destMember) |
__ | |
void StorePropertyBinding(BindingDefinition bindDef) |
__ |
⬜ | name | description |
---|