public interface IJSEmitter extends IASEmitter, IMappingEmitter
IJSEmitter interface allows abstraction between the
IASNodeStrategy and the current output buffer Writer.IMappingEmitter.SourceMapMapping| Modifier and Type | Method and Description |
|---|---|
void |
emitAssignmentCoercion(IExpressionNode assignedNode,
IDefinition definition) |
void |
emitClosureEnd(IASNode node,
IDefinition nodeDef) |
void |
emitClosureStart() |
void |
emitSourceMapDirective(ITypeNode node) |
String |
formatPrivateName(String className,
String name) |
String |
formatPrivateName(String className,
String name,
Boolean nameFirst) |
String |
formatQualifiedName(String name) |
JSSessionModel |
getModel() |
emitArguments, emitAsOperator, emitBinaryOperator, emitBlockClose, emitBlockOpen, emitCatch, emitClass, emitContainer, emitDoLoop, emitDynamicAccess, emitE4XDefaultNamespaceDirective, emitE4XFilter, emitEmbed, emitField, emitFieldDocumentation, emitForEachLoop, emitForLoop, emitFunctionBlockHeader, emitFunctionCall, emitFunctionObject, emitGetAccessor, emitGetAccessorDocumentation, emitIdentifier, emitIf, emitImport, emitInterface, emitIsOperator, emitIterationFlow, emitKeyword, emitLabelStatement, emitLanguageIdentifier, emitLiteral, emitLiteralContainer, emitLocalNamedFunction, emitMemberAccessExpression, emitMetaTag, emitMethod, emitMethodDocumentation, emitNamespace, emitNamespaceAccessExpression, emitNumericLiteral, emitObjectLiteralValuePair, emitPackageContents, emitPackageFooter, emitPackageHeader, emitPackageHeaderContents, emitParameter, emitReturn, emitSetAccessor, emitSetAccessorDocumentation, emitStatement, emitSwitch, emitTernaryOperator, emitThrow, emitTry, emitTypedExpression, emitUnaryOperator, emitUseNamespace, emitVarDeclaration, emitVariableExpression, emitWhileLoop, emitWith, getDocEmitter, getWalker, postProcess, setDocEmitter, setWalkergetParentEmitter, setParentEmitterindentPop, indentPush, stringifyNode, write, write, writeNewline, writeNewline, writeNewline, writeNewline, writeNewline, writeToken, writeTokenendMapping, getSourceMapMappings, startMapping, startMapping, startMappingJSSessionModel getModel()
void emitSourceMapDirective(ITypeNode node)
void emitClosureStart()
void emitClosureEnd(IASNode node, IDefinition nodeDef)
void emitAssignmentCoercion(IExpressionNode assignedNode, IDefinition definition)
Copyright © 2020 The Apache Software Foundation. All rights reserved.