| Package | Description |
|---|---|
| com.io7m.jpra.compiler.core.checker |
Type checking.
|
| com.io7m.jpra.compiler.core.resolver |
Name resolution.
|
| com.io7m.jpra.model.contexts |
Context types.
|
| com.io7m.jpra.model.types |
Types.
|
| Modifier and Type | Method and Description |
|---|---|
StatementCommandType<IdentifierType,TType> |
JPRACheckerType.checkCommandType(StatementCommandType<IdentifierType,Untyped> s)
Check a
:type command. |
StatementCommandType<IdentifierType,TType> |
JPRAChecker.checkCommandType(StatementCommandType<IdentifierType,Untyped> s) |
TypeDeclType<IdentifierType,TType> |
JPRACheckerType.checkTypeDeclaration(TypeDeclType<IdentifierType,Untyped> decl)
Check a type declaration.
|
TypeDeclType<IdentifierType,TType> |
JPRAChecker.checkTypeDeclaration(TypeDeclType<IdentifierType,Untyped> decl) |
TypeExprType<IdentifierType,TType> |
JPRACheckerType.checkTypeExpression(TypeExprType<IdentifierType,Untyped> expr)
Check a type expression.
|
TypeExprType<IdentifierType,TType> |
JPRAChecker.checkTypeExpression(TypeExprType<IdentifierType,Untyped> expr) |
| Modifier and Type | Method and Description |
|---|---|
IdentifierType |
GlobalContexts.getFreshIdentifier() |
IdentifierType |
GlobalContextType.getFreshIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
TypeUserDefinedType |
GlobalContexts.getType(IdentifierType id) |
TypeUserDefinedType |
GlobalContextType.getType(IdentifierType id)
Return a type previously added with
GlobalContextType.putType(TypeUserDefinedType). |
| Modifier and Type | Method and Description |
|---|---|
IdentifierType |
TypeUserDefinedType.getIdentifier() |
IdentifierType |
TRecord.getIdentifier() |
IdentifierType |
TPacked.getIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
TPackedBuilderType.addField(FieldName name,
IdentifierType id,
TIntegerType type)
Add a value field.
|
void |
TRecordBuilderType.addField(FieldName name,
IdentifierType id,
TType type)
Add a value field.
|
static TRecordBuilderType |
TRecord.newBuilder(PackageContextType in_package,
IdentifierType in_identifier,
TypeName in_ident)
Construct a new mutable record builder.
|
static TPackedBuilderType |
TPacked.newBuilder(PackageContextType in_package,
IdentifierType in_identifier,
TypeName in_type_name)
Construct a new mutable record builder.
|
Copyright © 2017 <code@io7m.com> http://io7m.com