Package | Description |
---|---|
com.asakusafw.operator.util |
Common utilities for Asakusa Operator DSL compiler.
|
com.asakusafw.utils.java.internal.model.syntax |
Naive Java DOM implementations.
|
com.asakusafw.utils.java.internal.model.util |
Internal utlities for Java DOM building/emitting.
|
com.asakusafw.utils.java.model.syntax |
Interfaces for representing Java DOMs.
|
Modifier and Type | Method and Description |
---|---|
static List<FormalParameterDeclaration> |
ElementHelper.toParameters(CompileEnvironment environment,
OperatorElement element,
ImportBuilder imports)
Creates type parameter declarations about operator element.
|
Modifier and Type | Class and Description |
---|---|
class |
FormalParameterDeclarationImpl
An implementation of
FormalParameterDeclaration . |
Modifier and Type | Method and Description |
---|---|
FormalParameterDeclaration |
TryResourceImpl.getParameter() |
FormalParameterDeclaration |
CatchClauseImpl.getParameter() |
FormalParameterDeclaration |
EnhancedForStatementImpl.getParameter() |
FormalParameterDeclaration |
ModelFactoryImpl.newFormalParameterDeclaration(List<? extends Attribute> modifiers,
Type type,
boolean variableArity,
SimpleName name,
int extraDimensions) |
Modifier and Type | Method and Description |
---|---|
List<? extends FormalParameterDeclaration> |
MethodDeclarationImpl.getFormalParameters() |
List<? extends FormalParameterDeclaration> |
ConstructorDeclarationImpl.getFormalParameters() |
Modifier and Type | Method and Description |
---|---|
CatchClause |
ModelFactoryImpl.newCatchClause(FormalParameterDeclaration parameter,
Block body) |
EnhancedForStatement |
ModelFactoryImpl.newEnhancedForStatement(FormalParameterDeclaration parameter,
Expression expression,
Statement body) |
TryResource |
ModelFactoryImpl.newTryResource(FormalParameterDeclaration parameter,
Expression expression) |
void |
TryResourceImpl.setParameter(FormalParameterDeclaration parameter)
Sets the resource variable declaration.
|
void |
CatchClauseImpl.setParameter(FormalParameterDeclaration parameter)
Sets the exception parameter.
|
void |
EnhancedForStatementImpl.setParameter(FormalParameterDeclaration parameter)
Sets the loop variable declaration.
|
Modifier and Type | Method and Description |
---|---|
ConstructorDeclaration |
ModelFactoryImpl.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Type> exceptionTypes,
Block body) |
ConstructorDeclaration |
ModelFactoryImpl.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements) |
MethodDeclaration |
ModelFactoryImpl.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
int extraDimensions,
List<? extends Type> exceptionTypes,
Block body) |
MethodDeclaration |
ModelFactoryImpl.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements) |
void |
MethodDeclarationImpl.setFormalParameters(List<? extends FormalParameterDeclaration> formalParameters)
Sets the formal parameter declarations.
|
void |
ConstructorDeclarationImpl.setFormalParameters(List<? extends FormalParameterDeclaration> formalParameters)
Sets the formal parameter declarations.
|
Modifier and Type | Method and Description |
---|---|
Void |
ModelDigester.visitFormalParameterDeclaration(FormalParameterDeclaration elem,
com.asakusafw.utils.java.internal.model.util.DigestContext context) |
Boolean |
ModelMatcher.visitFormalParameterDeclaration(FormalParameterDeclaration elem,
Model context) |
Modifier and Type | Method and Description |
---|---|
FormalParameterDeclaration |
TryResource.getParameter()
Returns the resource variable declaration.
|
FormalParameterDeclaration |
EnhancedForStatement.getParameter()
Returns the loop variable declaration.
|
FormalParameterDeclaration |
CatchClause.getParameter()
Returns the exception parameter.
|
FormalParameterDeclaration |
ModelFactory.newFormalParameterDeclaration(List<? extends Attribute> modifiers,
Type type,
boolean variableArity,
SimpleName name,
int extraDimensions)
Returns a new
FormalParameterDeclaration object. |
default FormalParameterDeclaration |
ModelFactory.newFormalParameterDeclaration(Type type,
SimpleName name)
Returns a new
FormalParameterDeclaration object. |
Modifier and Type | Method and Description |
---|---|
List<? extends FormalParameterDeclaration> |
MethodOrConstructorDeclaration.getFormalParameters()
Returns the formal parameter declarations.
|
Modifier and Type | Method and Description |
---|---|
CatchClause |
ModelFactory.newCatchClause(FormalParameterDeclaration parameter,
Block body)
Returns a new
CatchClause object. |
EnhancedForStatement |
ModelFactory.newEnhancedForStatement(FormalParameterDeclaration parameter,
Expression expression,
Statement body)
Returns a new
EnhancedForStatement object. |
TryResource |
ModelFactory.newTryResource(FormalParameterDeclaration parameter,
Expression expression)
Returns a new
TryResource object. |
R |
StrictVisitor.visitFormalParameterDeclaration(FormalParameterDeclaration elem,
C context) |
R |
Visitor.visitFormalParameterDeclaration(FormalParameterDeclaration elem,
C context)
Processes
FormalParameterDeclaration using this visitor. |
Modifier and Type | Method and Description |
---|---|
ConstructorDeclaration |
ModelFactory.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Type> exceptionTypes,
Block body)
Returns a new
ConstructorDeclaration object. |
ConstructorDeclaration |
ModelFactory.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements)
Returns a new
ConstructorDeclaration object. |
MethodDeclaration |
ModelFactory.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
int extraDimensions,
List<? extends Type> exceptionTypes,
Block body)
Returns a new
MethodDeclaration object. |
MethodDeclaration |
ModelFactory.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements)
Returns a new
MethodDeclaration object. |
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.