Exemplo n.º 1
0
        public List <Opcode> GetUserFunctionOpcodes(int expressionHash)
        {
            if (functions.ContainsKey(expressionHash))
            {
                return(functions[expressionHash].Code);
            }
            var newUserFuncFragment = new UserFunctionCodeFragment();

            functions.Add(expressionHash, newUserFuncFragment);
            newFunctions.Add(newUserFuncFragment);
            return(newUserFuncFragment.Code);
        }
Exemplo n.º 2
0
 public List<Opcode> GetUserFunctionOpcodes(int expressionHash)
 {
     if (functions.ContainsKey(expressionHash))
     {
         return functions[expressionHash].Code;
     }
     var newUserFuncFragment = new UserFunctionCodeFragment();
     functions.Add(expressionHash, newUserFuncFragment);
     newFunctions.Add(newUserFuncFragment);
     return newUserFuncFragment.Code;
 }