TypeEnvironment

public class TypeEnvironment

Constructors

Link copied to clipboard
public void TypeEnvironment()
public void TypeEnvironment(Map<String, Array<String>> customTypes, Map<String, MoonLightType> typeEnvironment, Map<String, Array<MoonLightType>> formulas, Set<String> edges, Set<String> signal, Set<String> location, Set<String> constants)

Functions

Link copied to clipboard
public synchronized void add(String name, MoonLightType type)
Link copied to clipboard
public synchronized void addConstant(String name, MoonLightType type)
Link copied to clipboard
public synchronized void addEdge(String name, MoonLightType type)
Link copied to clipboard
public synchronized void addFormula(String name, Array<MoonLightType> args)
Link copied to clipboard
Link copied to clipboard
public synchronized void addLocation(String name, MoonLightType type)
Link copied to clipboard
public synchronized void addSignal(String name, MoonLightType type)
Link copied to clipboard
public boolean exists(String name)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public boolean isValidIn(String name, TypeChecker.EvaluationContext evaluationContext)
Link copied to clipboard
public int numberOfArguments(String name)
Link copied to clipboard
public synchronized void recordType(ScriptTypeContext scriptTypeContext)