Beispiel #1
0
 public int Emit_Meta(string funcName, OpCodeMetadataType metaType)
 {
     return(AppendInstruction(new Instruction()
     {
         OpCode = OpCode.Meta,
         String = funcName,
         NumVal2 = (int)metaType
     }));
 }
Beispiel #2
0
 public Instruction Emit_Meta(string funcName, OpCodeMetadataType metaType, DynValue value = null)
 {
     return(AppendInstruction(new Instruction(m_CurrentSourceRef)
     {
         OpCode = OpCode.Meta,
         Name = funcName,
         NumVal2 = (int)metaType,
         Value = value
     }));
 }
		public Instruction Emit_Meta(string funcName, OpCodeMetadataType metaType, DynValue value = null)
		{
			return AppendInstruction(new Instruction(m_CurrentSourceRef)
			{
				OpCode = OpCode.Meta,
				Name = funcName,
				NumVal2 = (int)metaType,
				Value = value
			});
		}