pod() public abstract method

public abstract pod ( ) : Pod
return Pod
Example #1
0
        /// <summary>
        /// Compute if the method signature contains generic parameter types.
        /// </summary>
        private static int toMask(Type parent, Type returns, List pars)
        {
            // we only use generics in Sys
            if (parent.pod() != Sys.m_sysPod)
            {
                return(0);
            }

            int p = returns.isGenericParameter() ? 1 : 0;

            for (int i = 0; i < pars.sz(); ++i)
            {
                p |= ((Param)pars.get(i)).m_type.isGenericParameter() ? 1 : 0;
            }

            int mask = 0;

            if (p != 0)
            {
                mask |= GENERIC;
            }
            return(mask);
        }
Example #2
0
 private bool isMultiLine(Type t)
 {
     return t.pod() != Sys.m_sysPod;
 }
Example #3
0
        /// <summary>
        /// Compute if the method signature contains generic parameter types.
        /// </summary>
        private static int toMask(Type parent, Type returns, List pars)
        {
            // we only use generics in Sys
              if (parent.pod() != Sys.m_sysPod) return 0;

              int p = returns.isGenericParameter() ? 1 : 0;
              for (int i=0; i<pars.sz(); ++i)
            p |= ((Param)pars.get(i)).m_type.isGenericParameter() ? 1 : 0;

              int mask = 0;
              if (p != 0) mask |= GENERIC;
              return mask;
        }