Modifier and Type | Method and Description |
---|---|
void |
IASEmitter.emitFunctionBlockHeader(IFunctionNode node)
Emit a header at the start of a function block.
|
void |
IASEmitter.emitLocalNamedFunction(IFunctionNode node)
Emit an local named function
IFunctionNode . |
void |
IASEmitter.emitMethod(IFunctionNode node)
Emit a full Class or Interface method member.
|
void |
IASEmitter.emitMethodDocumentation(IFunctionNode node)
Emit a documentation comment for a Class method
IFunctionNode . |
Modifier and Type | Method and Description |
---|---|
void |
IJSGoogDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
void |
IJSGoogDocEmitter.emitOverride(IFunctionNode node) |
void |
IJSGoogDocEmitter.emitReturn(IFunctionNode node,
String packageName) |
Modifier and Type | Method and Description |
---|---|
IFunctionNode |
IFunctionDefinition.getFunctionNode()
Returns the
IFunctionNode from which this definition was created,
if the definition came from the AST for a source file. |
Modifier and Type | Method and Description |
---|---|
protected static IFunctionNode |
ASEmitter.getConstructor(IDefinitionNode[] members) |
Modifier and Type | Method and Description |
---|---|
void |
ASEmitter.emitFunctionBlockHeader(IFunctionNode node) |
void |
ASEmitter.emitLocalNamedFunction(IFunctionNode node) |
void |
ASEmitter.emitMethod(IFunctionNode node) |
void |
ASEmitter.emitMethodDocumentation(IFunctionNode node) |
void |
ASBlockWalker.visitFunction(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
List<IFunctionNode> |
JSSessionModel.getMethods() |
Modifier and Type | Method and Description |
---|---|
void |
JSEmitter.emitLocalNamedFunction(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
JSAMDEmitter.emitFunctionBlockHeader(IFunctionNode node) |
void |
JSAMDEmitter.emitMethod(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
JSFlexJSEmitter.emitFunctionBlockHeader(IFunctionNode node) |
void |
JSFlexJSEmitter.emitLocalNamedFunction(IFunctionNode node) |
void |
JSFlexJSEmitter.emitMethod(IFunctionNode node) |
void |
JSFlexJSDocEmitter.emitMethodAccess(IFunctionNode node) |
void |
JSFlexJSDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
protected void |
JSFlexJSEmitter.emitSelfReference(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSGoogEmitter.emitDefaultParameterCodeBlock(IFunctionNode node) |
void |
JSGoogEmitter.emitFunctionBlockHeader(IFunctionNode node) |
void |
JSGoogEmitter.emitMethod(IFunctionNode node) |
void |
JSGoogDocEmitter.emitMethodAccess(IFunctionNode node) |
void |
JSGoogDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
void |
JSGoogDocEmitter.emitOverride(IFunctionNode node) |
protected void |
JSGoogEmitter.emitRestParameterCodeBlock(IFunctionNode node) |
void |
JSGoogDocEmitter.emitReturn(IFunctionNode node,
String packageName) |
protected void |
JSGoogEmitter.emitSelfReference(IFunctionNode node) |
protected IClassDefinition |
JSGoogDocEmitter.resolveClassDefinition(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
SelfReferenceEmitter.emit(IFunctionNode node) |
void |
MethodEmitter.emit(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
static IFunctionNode |
EmitterUtils.findFunctionNode(IPackageNode node) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EmitterUtils.hasBody(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSVF2JSEmitter.emitDefaultParameterCodeBlock(IFunctionNode node) |
void |
JSVF2JSEmitter.emitFunctionBlockHeader(IFunctionNode node) |
void |
JSVF2JSEmitter.emitMethod(IFunctionNode node) |
void |
JSVF2JSDocEmitter.emitMethodAccess(IFunctionNode node) |
void |
JSVF2JSDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
protected void |
JSVF2JSEmitter.emitSelfReference(IFunctionNode node) |
Modifier and Type | Method and Description |
---|---|
IFunctionNode |
FunctionDefinition.getFunctionNode() |
Modifier and Type | Method and Description |
---|---|
void |
MethodBodySemanticChecker.checkFunctionDecl(IFunctionNode funcNode)
Do a semantic analysis of all the arguments of a function
|
void |
MethodBodySemanticChecker.checkFunctionDefinition(IFunctionNode iNode,
FunctionDefinition def)
Check a function definition.
|
void |
MethodBodySemanticChecker.checkNestedFunctionDecl(IFunctionNode funcNode)
Semantic analysis of a function declared inside another function.
|
static void |
SemanticUtils.checkReturnValueHasNoTypeDeclaration(LexicalScope scope,
IFunctionNode node,
IFunctionDefinition func)
Checks that a given function definition has a return type, and logs a problem if not
|
static IASNode |
SemanticUtils.getFunctionProblemNode(IFunctionNode iNode)
Helper method to get the node to report a problem with a Function.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessorNode
ActionScript parse tree node that acts as a base class for getters and
setters.
|
class |
FunctionNode
ActionScript parse tree node representing a function definition
|
class |
GetterNode
ActionScript parse tree node representing a getter definition (e.g. function
get foo():Number)
|
class |
SetterNode
ActionScript parse tree node representing a setter definition (e.g. function
set foo(f:Number):Void)
|
Modifier and Type | Method and Description |
---|---|
List<IFunctionNode> |
FunctionNode.getLocalFunctions() |
Modifier and Type | Method and Description |
---|---|
void |
FunctionNode.rememberLocalFunction(IFunctionNode value) |
Modifier and Type | Interface and Description |
---|---|
interface |
IAccessorNode
An AST node representing a getter or a setter.
|
interface |
IGetterNode
An AST node representing a getter.
|
interface |
ISetterNode
An AST node representing a setter.
|
Modifier and Type | Method and Description |
---|---|
List<IFunctionNode> |
IFunctionNode.getLocalFunctions()
Get local functions within
|
Modifier and Type | Method and Description |
---|---|
void |
IFunctionNode.rememberLocalFunction(IFunctionNode localFunction)
Remember local Functions in this function node().
|
Modifier and Type | Method and Description |
---|---|
void |
IASBlockVisitor.visitFunction(IFunctionNode node) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.