import org.simantics.scl.compiler.types.TVar;
import org.simantics.scl.compiler.types.Types;
import org.simantics.scl.compiler.types.util.TypeUnparsingContext;
import org.simantics.scl.compiler.types.TVar;
import org.simantics.scl.compiler.types.Types;
import org.simantics.scl.compiler.types.util.TypeUnparsingContext;
if(relatedModule == null) {
relatedModule = moduleRepository.getModule(documentationName);
if(!relatedModule.didSucceed())
if(relatedModule == null) {
relatedModule = moduleRepository.getModule(documentationName);
if(!relatedModule.didSucceed())
fm = moduleRepository.getModule(moduleName);
moduleCache.put(moduleName, fm);
if(!fm.didSucceed())
fm = moduleRepository.getModule(moduleName);
moduleCache.put(moduleName, fm);
if(!fm.didSucceed())
if(typeClass == null) {
StringBuilder error = new StringBuilder();
error.append("Didn't find the type class '" + name + "'.");
if(typeClass == null) {
StringBuilder error = new StringBuilder();
error.append("Didn't find the type class '" + name + "'.");
generateValueDocumentation(container, module, methodName, new TypeUnparsingContext(tuc));
}
container.addChild(new HtmlNode("</div></div>"));
generateValueDocumentation(container, module, methodName, new TypeUnparsingContext(tuc));
}
container.addChild(new HtmlNode("</div></div>"));
if(typeDescriptor instanceof TypeConstructor) {
for(Constructor constructor : ((TypeConstructor)typeDescriptor).constructors) {
if(!documentedValues.add(constructor.name.name))
if(typeDescriptor instanceof TypeConstructor) {
for(Constructor constructor : ((TypeConstructor)typeDescriptor).constructors) {
if(!documentedValues.add(constructor.name.name))
generateValueDocumentation(container, module, constructor.name.name, new TypeUnparsingContext(tuc));
}
}
generateValueDocumentation(container, module, constructor.name.name, new TypeUnparsingContext(tuc));
}
}