Ejemplo 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;
 }
Ejemplo 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>();
 }
Ejemplo 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;
 }
Ejemplo 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;
 }