Esempio n. 1
0
        public string FormattedCode(object self)
        {
            string args = arguments == null ? "" : arguments.GetCode();

            if (IokeObject.As(self, (IokeObject)self).IsActivatable)
            {
                return("fnx(" + args + "\n  " + Message.FormattedCode(message, 2, (IokeObject)self) + ")");
            }
            else
            {
                return("fn(" + args + "\n  " + Message.FormattedCode(message, 2, (IokeObject)self) + ")");
            }
        }
Esempio n. 2
0
        public string FormattedCode(object self)
        {
            string args = arguments == null ? "" : arguments.GetCode();

            return("method(" + args + "\n  " + Message.FormattedCode(code, 2, (IokeObject)self) + ")");
        }