public class JSRoyaleASDocEmitter extends JSGoogEmitter implements IJSRoyaleEmitter, IJSRoyaleASDocEmitter
IMappingEmitter.SourceMapMapping| Modifier and Type | Field and Description |
|---|---|
MXMLRoyaleASDocEmitter |
mxmlEmitter |
project, propertyNamesblockCloseEmitter, blockOpenEmitter, catchEmitter, doWhileLoopEmitter, dynamicAccessEmitter, forLoopEmitter, functionCallArgumentsEmitter, ifEmitter, interationFlowEmitter, languageIdentifierEmitter, literalContainerEmitter, memberKeywordEmitter, numericLiteralEmitter, objectLiteralValuePairEmitter, parameterEmitter, parametersEmitter, returnEmitter, sourceMapDirectiveEmitter, statementEmitter, switchEmitter, ternaryOperatorEmitter, throwEmitter, tryEmitter, unaryOperatorEmitter, whileLoopEmitter, withEmitter| Constructor and Description |
|---|
JSRoyaleASDocEmitter(FilterWriter out) |
| Modifier and Type | Method and Description |
|---|---|
String |
convertASTypeToJS(String name) |
void |
emitAccessors(IAccessorNode node) |
void |
emitClass(IClassNode node)
Emit a Class.
|
void |
emitField(IVariableNode node)
Emit a full Class field member.
|
void |
emitGetAccessor(IGetterNode node)
Emit a full Class getter member.
|
void |
emitInterface(IInterfaceNode node)
Emit an Interface.
|
void |
emitMethod(IFunctionNode node)
Emit a full Class or Interface method member.
|
void |
emitNamespace(INamespaceNode node)
Emit a namespace member.
|
void |
emitPackageFooter(IPackageDefinition definition) |
void |
emitPackageHeader(IPackageDefinition definition) |
void |
emitPackageHeaderContents(IPackageDefinition definition) |
void |
emitSetAccessor(ISetterNode node)
Emit a full Class setter member.
|
void |
emitVarDeclaration(IVariableNode node)
Emit a variable declaration found in expression statements within scoped
blocks.
|
String |
formatQualifiedName(String name) |
String |
formatQualifiedName(String name,
boolean isDoc) |
protected String |
getIndent(int numIndent) |
boolean |
hasCommentaryTags(ASDocComment asDoc) |
void |
outputClasses(File outputFolder,
RoyaleASDocProject project)
Outputs the class list.
|
void |
outputIndex(File outputFolder,
RoyaleASDocProject project)
Outputs the index.
|
void |
outputTags(File outputFolder,
RoyaleASDocProject project)
Outputs the set of asdoc tags.
|
String |
postProcess(String output) |
void |
writeASDoc(ASDocComment asDoc,
RoyaleASDocProject project) |
void |
writeCommentaryFile(BufferedWriter commentaryWriter,
String qname,
ASDocComment asDoc) |
void |
writeDefinitionAttributes(IDefinition def) |
void |
writeEventTagNode(IMetaTagNode node) |
protected void |
writeIndent() |
emitAsOperator, emitAssignedValue, emitBinaryOperator, emitClosureEnd, emitClosureStart, emitContainer, emitDefaultParameterCodeBlock, emitDefinePropertyFunction, emitForEachLoop, emitFunctionBlockHeader, emitFunctionCall, emitIdentifier, emitIsOperator, emitNamespaceAccessExpression, emitObjectDefineProperty, emitPackageContents, emitRestParameterCodeBlock, emitSelfReference, emitSuperCall, getDocEmitteraddLineToMappings, emitArguments, emitAssignmentCoercion, emitBlockClose, emitBlockOpen, emitCatch, emitClosureEnd, emitClosureStart, emitDoLoop, emitDynamicAccess, emitForLoop, emitFunctionObject, emitIf, emitImport, emitIterationFlow, emitLanguageIdentifier, emitLiteralContainer, emitLocalNamedFunction, emitMemberKeyword, emitNumericLiteral, emitObjectLiteralValuePair, emitParameter, emitParameters, emitReturn, emitSourceMapDirective, emitStatement, emitSwitch, emitTernaryOperator, emitThrow, emitTry, emitTypedExpression, emitUnaryOperator, emitWhileLoop, emitWith, endMapping, formatPrivateName, formatPrivateName, getGeneratedTypeCheck, getModel, getSourceMapMappings, removeLineFromMappings, startMapping, startMapping, startMappingemitAccessorKeyword, emitDeclarationName, emitE4XDefaultNamespaceDirective, emitE4XFilter, emitEmbed, emitFieldDocumentation, emitFunctionScope, emitGetAccessorDocumentation, emitKeyword, emitLabelStatement, emitLiteral, emitMemberAccessExpression, emitMemberName, emitMetaTag, emitMethodDocumentation, emitMethodScope, emitModifiers, emitNamespaceIdentifier, emitSetAccessorDocumentation, emitType, emitUseNamespace, emitVariableExpression, findType, findTypeNode, flushBuilder, getBuilder, getConstructor, getCurrentColumn, getCurrentIndent, getCurrentLine, getParentEmitter, getProblems, getWalker, indentPop, indentPush, isBufferWrite, isImplicit, isLastStatement, setBufferWrite, setBuilder, setDocEmitter, setParentEmitter, setWalker, stringifyNode, visitForBody, write, write, writeNewline, writeNewline, writeNewline, writeNewline, writeNewline, writeSymbol, writeToken, writeTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemitAssignmentCoercion, emitClosureEnd, emitClosureStart, emitSourceMapDirective, formatPrivateName, formatPrivateName, getGeneratedTypeCheck, getModelemitArguments, emitAsOperator, emitBinaryOperator, emitBlockClose, emitBlockOpen, emitCatch, emitContainer, emitDoLoop, emitDynamicAccess, emitE4XDefaultNamespaceDirective, emitE4XFilter, emitEmbed, emitFieldDocumentation, emitForEachLoop, emitForLoop, emitFunctionBlockHeader, emitFunctionCall, emitFunctionObject, emitGetAccessorDocumentation, emitIdentifier, emitIf, emitImport, emitIsOperator, emitIterationFlow, emitKeyword, emitLabelStatement, emitLanguageIdentifier, emitLiteral, emitLiteralContainer, emitLocalNamedFunction, emitMemberAccessExpression, emitMetaTag, emitMethodDocumentation, emitNamespaceAccessExpression, emitNumericLiteral, emitObjectLiteralValuePair, emitPackageContents, emitParameter, emitReturn, emitSetAccessorDocumentation, emitStatement, emitSwitch, emitTernaryOperator, emitThrow, emitTry, emitTypedExpression, emitUnaryOperator, emitUseNamespace, emitVariableExpression, emitWhileLoop, emitWith, getDocEmitter, getWalker, setDocEmitter, setWalkergetParentEmitter, setParentEmitterindentPop, indentPush, stringifyNode, write, write, writeNewline, writeNewline, writeNewline, writeNewline, writeNewline, writeToken, writeTokenendMapping, getSourceMapMappings, startMapping, startMapping, startMappingpublic MXMLRoyaleASDocEmitter mxmlEmitter
public JSRoyaleASDocEmitter(FilterWriter out)
public String postProcess(String output)
postProcess in interface IASEmitterpostProcess in class ASEmitterprotected void writeIndent()
writeIndent in class ASEmitterpublic void emitNamespace(INamespaceNode node)
IASEmitteremitNamespace in interface IASEmitteremitNamespace in class ASEmitternode - The INamespaceNode class member.public String formatQualifiedName(String name)
formatQualifiedName in interface IJSEmitterformatQualifiedName in class JSGoogEmitterpublic void emitPackageHeader(IPackageDefinition definition)
emitPackageHeader in interface IASEmitteremitPackageHeader in class JSGoogEmitterpublic void emitPackageHeaderContents(IPackageDefinition definition)
emitPackageHeaderContents in interface IASEmitteremitPackageHeaderContents in class JSGoogEmitterpublic void emitPackageFooter(IPackageDefinition definition)
emitPackageFooter in interface IASEmitteremitPackageFooter in class JSGoogEmitterpublic void emitClass(IClassNode node)
IASEmitteremitClass in interface IASEmitteremitClass in class JSGoogEmitternode - The IClassNode class.public void emitInterface(IInterfaceNode node)
IASEmitteremitInterface in interface IASEmitteremitInterface in class JSGoogEmitternode - The IInterfaceNode class.public void emitGetAccessor(IGetterNode node)
IASEmitteremitGetAccessor in interface IASEmitteremitGetAccessor in class JSGoogEmitternode - The IVariableNode class getter member.public void emitSetAccessor(ISetterNode node)
IASEmitteremitSetAccessor in interface IASEmitteremitSetAccessor in class JSGoogEmitternode - The ISetterNode class setter member.public void emitField(IVariableNode node)
IASEmitteremitField in interface IASEmitteremitField in class JSGoogEmitternode - The IVariableNode class field member.public void emitVarDeclaration(IVariableNode node)
IASEmitteremitVarDeclaration in interface IASEmitteremitVarDeclaration in class JSGoogEmitternode - The IVariableNode or chain of variable nodes.public void emitAccessors(IAccessorNode node)
emitAccessors in class JSGoogEmitterpublic void emitMethod(IFunctionNode node)
IASEmitteremitMethod in interface IASEmitteremitMethod in class JSGoogEmitternode - The IFunctionNode class method member.public void writeASDoc(ASDocComment asDoc, RoyaleASDocProject project)
public void writeDefinitionAttributes(IDefinition def)
public void writeEventTagNode(IMetaTagNode node)
public void outputIndex(File outputFolder, RoyaleASDocProject project) throws IOException
IJSRoyaleASDocEmitteroutputIndex in interface IJSRoyaleASDocEmitterIOExceptionpublic boolean hasCommentaryTags(ASDocComment asDoc)
public void writeCommentaryFile(BufferedWriter commentaryWriter, String qname, ASDocComment asDoc) throws IOException
IOExceptionpublic void outputClasses(File outputFolder, RoyaleASDocProject project) throws IOException
IJSRoyaleASDocEmitteroutputClasses in interface IJSRoyaleASDocEmitterIOExceptionpublic void outputTags(File outputFolder, RoyaleASDocProject project) throws IOException
IJSRoyaleASDocEmitteroutputTags in interface IJSRoyaleASDocEmitterIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.