public class MXMLRoyaleASDocEmitter extends MXMLEmitter implements IMXMLRoyaleEmitter
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.apache.royale.compiler.tree.mxml.IMXMLNode,Integer> |
nodeToIndexMap
This keeps track of the entries in our temporary array of
DeferredInstanceFromFunction objects that we CG to help with
State override CG.
|
walker| Constructor and Description |
|---|
MXMLRoyaleASDocEmitter(FilterWriter out) |
emitBoolean, emitClass, emitDatabinding, emitDocumentFooter, emitDocumentHeader, emitEmbed, emitInt, emitMetadata, emitMXMLClass, emitNumber, emitPropertySpecifiers, emitRemoteObject, emitRemoteObjectMethod, emitUint, emitVector, emitWebService, emitWebServiceMethod, getMXMLWalker, isMXMLContentNode, setMXMLWalkerflushBuilder, getBuilder, getCurrentColumn, getCurrentIndent, getCurrentLine, getProblems, getWalker, indentPop, indentPush, isBufferWrite, setWalker, stringifyNode, write, write, writeNewline, writeNewline, writeNewline, writeNewline, writeNewline, writeSymbol, writeToken, writeTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemitBoolean, emitClass, emitDatabinding, emitDocumentFooter, emitDocumentHeader, emitEmbed, emitInt, emitMetadata, emitMXMLClass, emitNumber, emitPropertySpecifiers, emitRemoteObject, emitRemoteObjectMethod, emitUint, emitVector, emitWebService, emitWebServiceMethod, getMXMLWalker, setMXMLWalkerindentPop, indentPush, stringifyNode, write, write, writeNewline, writeNewline, writeNewline, writeNewline, writeNewline, writeToken, writeTokenprotected Map<org.apache.royale.compiler.tree.mxml.IMXMLNode,Integer> nodeToIndexMap
public MXMLRoyaleASDocEmitter(FilterWriter out)
public String postProcess(String output)
postProcess in interface IMXMLEmitterpostProcess in class MXMLEmitterpublic void emitDeclarations(org.apache.royale.compiler.tree.mxml.IMXMLDeclarationsNode node)
emitDeclarations in interface IMXMLEmitteremitDeclarations in class MXMLEmitterpublic void emitDocument(org.apache.royale.compiler.tree.mxml.IMXMLDocumentNode node)
emitDocument in interface IMXMLRoyaleEmitterpublic void emitSubDocument(org.apache.royale.compiler.tree.mxml.IMXMLComponentNode node)
protected void emitClassDeclStart(String cname, String baseClassName, boolean indent)
protected void emitScripts()
protected void emitEvents(String cname)
protected void emitPropertyGetterSetters(String cname)
public void emitEventSpecifier(org.apache.royale.compiler.tree.mxml.IMXMLEventSpecifierNode node)
emitEventSpecifier in interface IMXMLEmitteremitEventSpecifier in class MXMLEmitterpublic void emitInstance(org.apache.royale.compiler.tree.mxml.IMXMLInstanceNode node)
emitInstance in interface IMXMLEmitteremitInstance in class MXMLEmitterpublic void emitPropertyOverride(org.apache.royale.compiler.tree.mxml.IMXMLPropertySpecifierNode propertyNode)
public void emitInstanceOverride(org.apache.royale.compiler.tree.mxml.IMXMLInstanceNode instanceNode)
protected boolean isStateDependent(IASNode node)
protected boolean isStateDependentInstance(IASNode node)
public static boolean isDataBindingNode(IASNode node)
protected static boolean isDataboundProp(org.apache.royale.compiler.tree.mxml.IMXMLPropertySpecifierNode propertyNode)
public void emitPropertySpecifier(org.apache.royale.compiler.tree.mxml.IMXMLPropertySpecifierNode node)
emitPropertySpecifier in interface IMXMLEmitteremitPropertySpecifier in class MXMLEmitterpublic void emitScript(org.apache.royale.compiler.tree.mxml.IMXMLScriptNode node)
emitScript in interface IMXMLEmitteremitScript in class MXMLEmitterpublic void emitStyleSpecifier(org.apache.royale.compiler.tree.mxml.IMXMLStyleSpecifierNode node)
emitStyleSpecifier in interface IMXMLEmitteremitStyleSpecifier in class MXMLEmitterpublic void emitObject(org.apache.royale.compiler.tree.mxml.IMXMLObjectNode node)
emitObject in interface IMXMLEmitteremitObject in class MXMLEmitterpublic void emitArray(org.apache.royale.compiler.tree.mxml.IMXMLArrayNode node)
emitArray in interface IMXMLEmitteremitArray in class MXMLEmitterpublic void emitString(org.apache.royale.compiler.tree.mxml.IMXMLStringNode node)
emitString in interface IMXMLEmitteremitString in class MXMLEmitterpublic void emitLiteral(org.apache.royale.compiler.tree.mxml.IMXMLLiteralNode node)
emitLiteral in interface IMXMLEmitteremitLiteral in class MXMLEmitterpublic void emitFactory(org.apache.royale.compiler.tree.mxml.IMXMLFactoryNode node)
emitFactory in interface IMXMLEmitteremitFactory in class MXMLEmitterpublic void emitComponent(org.apache.royale.compiler.tree.mxml.IMXMLComponentNode node)
emitComponent in interface IMXMLEmitteremitComponent in class MXMLEmitterprotected void setBufferWrite(boolean value)
setBufferWrite in class Emitterprotected void emitAttributeValue(IASNode node)
emitAttributeValue in class MXMLEmitterprotected void moveDown(boolean byPass,
MXMLDescriptorSpecifier currentInstance,
MXMLDescriptorSpecifier currentPropertySpecifier)
protected void moveUp(boolean byPass,
boolean isInstance)
public void emitImplements(org.apache.royale.compiler.tree.mxml.IMXMLImplementsNode node)
emitImplements in interface IMXMLEmitteremitImplements in class MXMLEmitterCopyright © 2020 The Apache Software Foundation. All rights reserved.