| Package | Description |
|---|---|
| org.asn1s.api | |
| org.asn1s.api.constraint | |
| org.asn1s.api.encoding | |
| org.asn1s.api.module | |
| org.asn1s.api.type | |
| org.asn1s.api.util | |
| org.asn1s.api.value |
| Modifier and Type | Method and Description |
|---|---|
T |
Template.newInstance(Scope scope,
String namespace) |
T |
Ref.resolve(Scope scope) |
Type |
Scope.resolveType(TypeName typeName)
Resolves type in this module
|
Value |
Scope.resolveValue(ValueName valueName)
Resolves value in this module
|
void |
Validation.validate(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
Constraint |
ConstraintTemplate.build(Scope scope,
Type type) |
void |
Constraint.check(Scope scope,
Ref<Value> valueRef) |
Constraint |
Constraint.copyForType(Scope scope,
Type type) |
default Value |
Constraint.getMaximumValue(Scope scope) |
default Value |
Constraint.getMinimumValue(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
IEncoding |
IEncoding.resolve(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
Module |
EmptyModuleResolver.resolve(ModuleReference reference) |
Module |
ModuleResolver.resolve(ModuleReference reference) |
default Module |
ModuleResolver.resolve(String moduleName) |
Type |
TypeResolver.resolve(TypeName typeName) |
Value |
ValueResolver.resolve(ValueName valueName) |
default void |
Module.validate()
Validates this module and all its types, values.
|
void |
Module.validate(boolean types,
boolean values)
Validates this module and all its types, values.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ClassFieldType.accept(Scope scope,
Ref<Value> valueRef) |
void |
Type.accept(Scope scope,
Ref<Value> valueRef)
Accept value, use scope for resolution.
|
void |
ClassFieldType.acceptRef(Scope scope,
Ref<?> ref) |
Value |
Type.optimize(Scope scope,
Ref<Value> valueRef)
Optimize value to type native value kind.
|
Ref<?> |
ClassFieldType.optimizeRef(Scope scope,
Ref<?> ref) |
Type |
ClassFieldRef.resolve(Scope scope) |
Type |
TypeNameRef.resolve(Scope scope) |
Type |
InstanceOfTypeSelector.resolveInstanceOfType(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RefUtils.isSameAsDefaultValue(Scope scope,
ComponentType component,
Value resolve) |
static Value |
RefUtils.toBasicValue(Scope scope,
Ref<Value> ref) |
| Modifier and Type | Method and Description |
|---|---|
Value |
ValueNameRef.resolve(Scope scope) |
default Value |
Value.resolve(Scope scope) |
Copyright © 2017. All rights reserved.