GetClassname() public static méthode

public static GetClassname ( ) : string
Résultat string
Exemple #1
0
 public void BeginClass()
 {
     exe.BeginClass(Io.GetClassname(), TypeAttributes.Public);
     if (Io.genlist)
     {
         io.Out(".class " + Io.GetClassname() + "{\r\n");
     }
 }
Exemple #2
0
        private String genFieldRef(Var e)
        {
            if (e == null)
            {
                return(null);
            }

            StringBuilder sb = new StringBuilder(MyC.MAXSTR);

            if (e.getSign() == Tok.T_UNSIGNED) /* if var is unsigned, put it in sig */
            {
                sb.Append("unsigned ");
            }

            sb.Append(ilSType(e.getTypeId())); /* get the datatype */
            sb.Append(" ");
            sb.Append(Io.GetClassname());      /* get the current classname */
            sb.Append(".");
            sb.Append(e.getName());            /* copy the variable name */
            return(sb.ToString());
        }
Exemple #3
0
 public Emit(Io o)
 {
     io  = o;
     exe = new Exe(Io.GetClassname());
 }