Nice TWiki > Dev > NiceCompiler > SyntanticClassHierarchy (r1.1) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Dev . { Changes | Index | Search | Go }
In an attempt to understand better the syntax part of nice, here is the class hierarchy for the bossa.syntax package. I have included questions and comments for discussion.

abstract public class Node;

public static class ClassDefinition?.ClassImplementation; Why are these not Definitions? Also, use of inner classes needs to be broken.

class Expression;

* class ConstantExp? extends Expression;

* class NullExp? extends ConstantExp?;

* class VoidConstantExp? extends ConstantExp?;

* class StringConstantExp? extends ConstantExp?;

* class TypeConstantExp? extends ConstantExp?;

class AtomicConstraint?;

abstract class Statement;

abstract class Monotype;

abstract class Pattern;

abstract class NiceField?; Why aren't fields Definitions?

class VarScope?;

interface TypeMap?;

// Misceallaneous

class Arguments;

class Contract;

class LocatedString?;

final class ValueOverride?;

class ACatch; Why is this not a statement?

// Helpers:

class JavaClasses?

final class NiceUtils?;

final class TypeConstructors?;

class TypeParameters?;

class Info (analyse.nice)

// Other

interface Macro extends gnu.expr.Inlineable

interface Module extends mlsub.compilation.Module

interface Function;

// Exceptions

class DuplicateIdentEx? extends Exception;

class UnknownIdentException? extends bossa.util.UserError;

-- LucPerrin - 17 Nov 2004

Topic SyntanticClassHierarchy . { Edit | Attach | Ref-By | Printable | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }
Revision r1.1 - 17 Nov 2004 - 08:19 GMT - LucPerrin
Parents: WebHome > NiceCompiler
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.