示例#1
0
 public static InstructionMoveLiteralStruct Of(
     Diagnostics.Span span, DataAccess destination, int structIndex,
     DataAccess[] fieldSources, Diagnostics.Span[] fieldDestSpans)
 {
     return new InstructionMoveLiteralStruct
     {
         span = span,
         destination = destination,
         structIndex = structIndex,
         fieldSources = fieldSources,
         fieldDestSpans = fieldDestSpans
     };
 }
示例#2
0
 public static InstructionMoveCallResult For(
     Diagnostics.Span span,
     DataAccess destination,
     DataAccess callTarget,
     DataAccess[] arguments)
 {
     return new InstructionMoveCallResult
     {
         span = span,
         destination = destination,
         callTargetSource = callTarget,
         argumentSources = arguments
     };
 }
示例#3
0
 public static InstructionMoveLiteralTuple Empty(Diagnostics.Span span, DataAccess destination)
 {
     return new InstructionMoveLiteralTuple { span = span, destination = destination };
 }
示例#4
0
 public static DataAccessField Of(Diagnostics.Span span, DataAccess baseAccess, int fieldIndex)
 {
     return new DataAccessField { span = span, baseAccess = baseAccess, fieldIndex = fieldIndex };
 }
示例#5
0
 public static DataAccessDereference Of(Diagnostics.Span span, DataAccess innerAccess)
 {
     return new DataAccessDereference { span = span, innerAccess = innerAccess };
 }
示例#6
0
 public static InstructionMoveAddr Of(Diagnostics.Span span, DataAccess destination, DataAccess source, bool mutable)
 {
     return new InstructionMoveAddr { span = span, destination = destination, source = source, mutable = mutable };
 }
示例#7
0
 public static InstructionMoveLiteralFunct With(Diagnostics.Span span, DataAccess destination, int functIndex)
 {
     return new InstructionMoveLiteralFunct { span = span, destination = destination, functIndex = functIndex };
 }
示例#8
0
 public static InstructionMoveData Of(Diagnostics.Span span, DataAccess destination, DataAccess source)
 {
     return new InstructionMoveData { span = span, destination = destination, source = source };
 }
示例#9
0
 public static InstructionMoveLiteralBool Of(Diagnostics.Span span, DataAccess destination, bool value)
 {
     return new InstructionMoveLiteralBool { span = span, destination = destination, value = value };
 }
示例#10
0
 public static InstructionMoveLiteralInt Of(Diagnostics.Span span, DataAccess destination, Core.Type type, long value)
 {
     return new InstructionMoveLiteralInt { span = span, destination = destination, type = type, value = value };
 }