Exemple #1
0
 public interpreter(slice <value> osArgs = default, ref ptr <ssa.Program> prog = default, map <ssa.Value, ptr <value> > globals = default, Mode mode = default, ref ptr <ssa.Package> reflectPackage = default, methodSet errorMethods = default, methodSet rtypeMethods = default, types.Type runtimeErrorString = default, types.Sizes sizes = default, int goroutines = default)
 {
     this.osArgs             = osArgs;
     this.prog               = prog;
     this.globals            = globals;
     this.mode               = mode;
     this.reflectPackage     = reflectPackage;
     this.errorMethods       = errorMethods;
     this.rtypeMethods       = rtypeMethods;
     this.runtimeErrorString = runtimeErrorString;
     this.sizes              = sizes;
     this.goroutines         = goroutines;
 }
 public namedType(@string doc = default, @string name = default, ref ptr <ast.GenDecl> decl = default, bool isEmbedded = default, bool isStruct = default, embeddedSet embedded = default, slice <ptr <Value> > values = default, methodSet funcs = default, methodSet methods = default)
 {
     this.doc        = doc;
     this.name       = name;
     this.decl       = decl;
     this.isEmbedded = isEmbedded;
     this.isStruct   = isStruct;
     this.embedded   = embedded;
     this.values     = values;
     this.funcs      = funcs;
     this.methods    = methods;
 }
Exemple #3
0
 public reader(Mode mode = default, @string doc = default, slice <@string> filenames = default, map <@string, slice <ptr <Note> > > notes = default, map <@string, long> imports = default, bool hasDotImp = default, slice <ptr <Value> > values = default, long order = default, map <@string, ptr <namedType> > types = default, methodSet funcs = default, bool errorDecl = default, slice <ptr <ast.InterfaceType> > fixlist = default)
 {
     this.mode      = mode;
     this.doc       = doc;
     this.filenames = filenames;
     this.notes     = notes;
     this.imports   = imports;
     this.hasDotImp = hasDotImp;
     this.values    = values;
     this.order     = order;
     this.types     = types;
     this.funcs     = funcs;
     this.errorDecl = errorDecl;
     this.fixlist   = fixlist;
 }