public class OperatorAttribute extends Object implements Attribute, OperatorInfo
Attribute
which represents details of operators.Constructor and Description |
---|
OperatorAttribute(OperatorSpec spec)
Creates a new instance.
|
OperatorAttribute(OperatorSpec spec,
List<? extends ParameterInfo> parameters)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<ParameterInfo> |
getParameters()
Returns the parameters.
|
OperatorSpec |
getSpec()
Returns the operator body.
|
int |
hashCode() |
String |
toString() |
public OperatorAttribute(OperatorSpec spec)
spec
- the operator body informationpublic OperatorAttribute(OperatorSpec spec, List<? extends ParameterInfo> parameters)
spec
- the operator body informationparameters
- the operator parameterspublic OperatorSpec getSpec()
OperatorInfo
getSpec
in interface OperatorInfo
public List<ParameterInfo> getParameters()
OperatorInfo
getParameters
in interface OperatorInfo
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.