Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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>();
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 public CILFixedArray(SourceInfo sourceInfo, CILType type, int pointerDepth, string name, int size, bool isStatic = false)
     : base(sourceInfo, type, pointerDepth, name, isStatic)
 {
     Size = size;
 }