instance (id) (ext) ofMeta Meta meta inFile TomFile file name: tom.String name = nil;
Extension
which extends the meta
. The
extension is contained in the file
, and has the name
. Upon
return, the extension has been added to the meta.
public Meta meta;
public TomFile file;
tom.String descriptive_name;
tom.MutableArray variables;
tom.MutableArray methods;
tom.MutableArray other_attributes;
variables
.
private id initWithMeta Meta m inFile TomFile f name tom.String n;
void addAlias Alias a;
a
to the other_attributes
and inform the meta
.
void addConst (tom.String, Expression) (name, value);
void addMetaVariable (int, Type, tom.String) (qualifiers, type, name);
void addMethod Method method;
method
to the methods
.
void addVariable MetaVariable v;
v
to the variables
or, if it is static, to the
other_attributes
.
tom.String descriptive_name;
descriptive_name
, creating it if necessary.
boolean isMainExtension;
TRUE
if our name
is nil
.
Unit unit;