public CILVariableDecl(SourceInfo sourceInfo, CILType type, int pointerDepth, string name, CILExpression assigningValue, bool isStatic = false) : base(sourceInfo) { IsStatic = isStatic; Type = type; PointerDepth = pointerDepth; Name = name; AssigningValue = assigningValue; }
internal CILFunction(SourceInfo sourceInfo, string name, CILType returnType, int returnPointerDepth, List <CILVariableDecl> @params, bool isVarArgs) : base(sourceInfo, name, false) { ReturnType = returnType; ReturnPointerDepth = returnPointerDepth; Params = @params; IsVarArgs = isVarArgs; Body = new List <CILNode>(); }
internal CILFunction(SourceInfo sourceInfo, string name, CILType returnType, int returnPointerDepth, List <CILVariableDecl> @params, bool isVarArgs, List <CILNode> body) : base(sourceInfo, name, false) { ReturnType = returnType; ReturnPointerDepth = returnPointerDepth; Params = @params; Body = body; IsVarArgs = isVarArgs; HasBeenDefined = false; }
public CILFixedArray(SourceInfo sourceInfo, CILType type, int pointerDepth, string name, int size, bool isStatic = false) : base(sourceInfo, type, pointerDepth, name, isStatic) { Size = size; }