예제 #1
0
 public Name(ref ptr <Node> Pack = default, ref ptr <types.Pkg> Pkg = default, ref ptr <Node> Defn = default, ref ptr <Node> Curfn = default, ref ptr <Param> Param = default, int Decldepth = default, int Vargen = default, bitset16 flags = default)
 {
     this.Pack      = Pack;
     this.Pkg       = Pkg;
     this.Defn      = Defn;
     this.Curfn     = Curfn;
     this.Param     = Param;
     this.Decldepth = Decldepth;
     this.Vargen    = Vargen;
     this.flags     = flags;
 }
예제 #2
0
 public Func(ref ptr <types.Sym> Shortname = default, Nodes Enter = default, Nodes Exit = default, Nodes Cvars = default, slice <ptr <Node> > Dcl = default, slice <ScopeID> Parents = default, slice <Mark> Marks = default, long Closgen = default, ref ptr <ssa.FuncDebug> DebugInfo = default, ref ptr <Node> Ntype = default, long Top = default, ref ptr <Node> Closure = default, ref ptr <Node> Nname = default, ref ptr <obj.LSym> lsym = default, ref ptr <Inline> Inl = default, int Label = default, src.XPos Endlineno = default, src.XPos WBPos = default, PragmaFlag Pragma = default, bitset16 flags = default, long numDefers = default, long numReturns = default, ref ptr <slice <nowritebarrierrecCallSym> > nwbrCalls = default)
 {
     this.Shortname  = Shortname;
     this.Enter      = Enter;
     this.Exit       = Exit;
     this.Cvars      = Cvars;
     this.Dcl        = Dcl;
     this.Parents    = Parents;
     this.Marks      = Marks;
     this.Closgen    = Closgen;
     this.DebugInfo  = DebugInfo;
     this.Ntype      = Ntype;
     this.Top        = Top;
     this.Closure    = Closure;
     this.Nname      = Nname;
     this.lsym       = lsym;
     this.Inl        = Inl;
     this.Label      = Label;
     this.Endlineno  = Endlineno;
     this.WBPos      = WBPos;
     this.Pragma     = Pragma;
     this.flags      = flags;
     this.numDefers  = numDefers;
     this.numReturns = numReturns;
     this.nwbrCalls  = nwbrCalls;
 }