Exemple #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
     };
 }
Exemple #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
     };
 }
Exemple #3
0
 public static InstructionMoveLiteralTuple Empty(Diagnostics.Span span, DataAccess destination)
 {
     return new InstructionMoveLiteralTuple { span = span, destination = destination };
 }
Exemple #4
0
 public static DataAccessField Of(Diagnostics.Span span, DataAccess baseAccess, int fieldIndex)
 {
     return new DataAccessField { span = span, baseAccess = baseAccess, fieldIndex = fieldIndex };
 }
Exemple #5
0
 public static DataAccessDereference Of(Diagnostics.Span span, DataAccess innerAccess)
 {
     return new DataAccessDereference { span = span, innerAccess = innerAccess };
 }
Exemple #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 };
 }
Exemple #7
0
 public static InstructionMoveLiteralFunct With(Diagnostics.Span span, DataAccess destination, int functIndex)
 {
     return new InstructionMoveLiteralFunct { span = span, destination = destination, functIndex = functIndex };
 }
Exemple #8
0
 public static InstructionMoveData Of(Diagnostics.Span span, DataAccess destination, DataAccess source)
 {
     return new InstructionMoveData { span = span, destination = destination, source = source };
 }
Exemple #9
0
 public static InstructionMoveLiteralBool Of(Diagnostics.Span span, DataAccess destination, bool value)
 {
     return new InstructionMoveLiteralBool { span = span, destination = destination, value = value };
 }
Exemple #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 };
 }