mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
Paketbeschreibungen für parser, term, type, step
This commit is contained in:
parent
1846f9d349
commit
4667dc89aa
@ -47,8 +47,6 @@ public class TypeInferer implements TypeInfererInterface {
|
||||
// cancel algorithm if term can't be typified
|
||||
if (!unification.getSubstitutions().isOk()) {
|
||||
typeInfResult = Optional.empty();
|
||||
// TODO: schönere Methode, mit nicht typisierbar umzugehen?
|
||||
// getter unten anpassen!
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,10 @@
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
/**
|
||||
* The parser package contains all classes needed to parse the input strings from the user to an abstract form
|
||||
* consisting of classes provided by the the model, term and type package.
|
||||
*/
|
||||
package edu.kit.typicalc.model.parser;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
11
src/main/java/edu/kit/typicalc/model/step/package-info.java
Normal file
11
src/main/java/edu/kit/typicalc/model/step/package-info.java
Normal file
@ -0,0 +1,11 @@
|
||||
@NonNullFields
|
||||
@NonNullApi
|
||||
/**
|
||||
* The step package models the inference steps that are executed while generating the prof tree.
|
||||
* To represent the different kinds of typing rules that can be applied, InferenceStep has various subclasses.
|
||||
* These subclasses can be produced by factories, appropriate to the desired context.
|
||||
*/
|
||||
package edu.kit.typicalc.model.step;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
10
src/main/java/edu/kit/typicalc/model/term/package-info.java
Normal file
10
src/main/java/edu/kit/typicalc/model/term/package-info.java
Normal file
@ -0,0 +1,10 @@
|
||||
@NonNullFields
|
||||
@NonNullApi
|
||||
/**
|
||||
* The term package models the different kinds of lambda terms:
|
||||
* application, abstraction, variable constant and let-polymorphism.
|
||||
*/
|
||||
package edu.kit.typicalc.model.term;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
@ -1,4 +1,9 @@
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
/**
|
||||
* The type package models all types that can be assigned to lambda terms.
|
||||
*/
|
||||
package edu.kit.typicalc.model.type;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
Loading…
Reference in New Issue
Block a user