public static Decln Create(DeclnSpecs declnSpecs, ImmutableList<InitDeclr> initDeclrs) => new Decln(declnSpecs, initDeclrs);
protected ParamDecln(DeclnSpecs declnSpecs, ParamDeclr paramDeclr) { this.DeclnSpecs = declnSpecs; this.ParamDeclr = paramDeclr; }
public static ParamDecln Create(DeclnSpecs declnSpecs, Option<ParamDeclr> paramDeclr) => new ParamDecln(declnSpecs, paramDeclr.IsSome ? paramDeclr.Value : ParamDeclr.Empty);
public FuncDef(DeclnSpecs specs, Declr declr, CompoundStmt stmt) { this.Specs = specs; this.Declr = declr; this.Stmt = stmt; }
private Decln(DeclnSpecs declnSpecs, ImmutableList<InitDeclr> initDeclrs) { this.DeclnSpecs = declnSpecs; this.InitDeclrs = initDeclrs; }
public static DeclnSpecs Add(DeclnSpecs declnSpecs, StorageClsSpec storageClsSpec) => Create(declnSpecs.StorageClsSpecs.Add(storageClsSpec), declnSpecs.TypeSpecs, declnSpecs.TypeQuals);
public static DeclnSpecs Add(DeclnSpecs declnSpecs, TypeQual typeQual) => Create(declnSpecs.StorageClsSpecs, declnSpecs.TypeSpecs, declnSpecs.TypeQuals.Add(typeQual));
public static DeclnSpecs Add(DeclnSpecs declnSpecs, TypeQual typeQual) => Create(declnSpecs.StorageClsSpecs, declnSpecs.TypeSpecs, declnSpecs.TypeQuals.Add(typeQual));
public FuncDef(DeclnSpecs specs, Declr declr, CompoundStmt stmt) { this.Specs = specs; this.Declr = declr; this.Stmt = stmt; }
public static DeclnSpecs Add(DeclnSpecs declnSpecs, StorageClsSpec storageClsSpec) => Create(declnSpecs.StorageClsSpecs.Add(storageClsSpec), declnSpecs.TypeSpecs, declnSpecs.TypeQuals);
public static Decln Create(DeclnSpecs declnSpecs, ImmutableList <InitDeclr> initDeclrs) => new Decln(declnSpecs, initDeclrs);
public static ParamDecln Create(DeclnSpecs declnSpecs, Option <ParamDeclr> paramDeclr) => new ParamDecln(declnSpecs, paramDeclr.IsSome ? paramDeclr.Value : ParamDeclr.Empty);
protected ParamDecln(DeclnSpecs declnSpecs, ParamDeclr paramDeclr) { this.DeclnSpecs = declnSpecs; this.ParamDeclr = paramDeclr; }
private Decln(DeclnSpecs declnSpecs, ImmutableList <InitDeclr> initDeclrs) { this.DeclnSpecs = declnSpecs; this.InitDeclrs = initDeclrs; }