Variable: majutsu-template--string-method-specs

majutsu-template--string-method-specs is a variable defined in majutsu-template.el.

Value

((len :returns Integer :keyword t)
 (contains :args ((needle Stringify)) :returns Boolean)
 (match :args ((needle StringPattern)) :returns String)
 (replace :args
	  ((pattern StringPattern) (replacement Stringify)
	   (limit Integer :optional t))
	  :returns String)
 (first_line :returns String :keyword t)
 (lines :returns (:list String) :keyword t)
 (upper :returns String :keyword t) (lower :returns String :keyword t)
 (starts_with :args ((needle Stringify)) :returns Boolean)
 (ends_with :args ((needle Stringify)) :returns Boolean)
 (remove_prefix :args ((needle Stringify)) :returns String)
 (remove_suffix :args ((needle Stringify)) :returns String)
 (trim :returns String :keyword t)
 (trim_start :returns String :keyword t)
 (trim_end :returns String :keyword t)
 (split :args ((separator StringPattern) (limit Integer :optional t))
	:returns (:list String))
 (substr :args ((start Integer) (end Integer :optional t)) :returns
	 String)
 (escape_json :returns String :keyword t))

Documentation

Builtin methods shared by String-like value types.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defconst majutsu-template--string-method-specs
  '((len :returns Integer :keyword t)
    (contains :args ((needle Stringify)) :returns Boolean)
    (match :args ((needle StringPattern)) :returns String)
    (replace :args ((pattern StringPattern)
                    (replacement Stringify)
                    (limit Integer :optional t))
             :returns String)
    (first_line :returns String :keyword t)
    (lines :returns (:list String) :keyword t)
    (upper :returns String :keyword t)
    (lower :returns String :keyword t)
    (starts_with :args ((needle Stringify)) :returns Boolean)
    (ends_with :args ((needle Stringify)) :returns Boolean)
    (remove_prefix :args ((needle Stringify)) :returns String)
    (remove_suffix :args ((needle Stringify)) :returns String)
    (trim :returns String :keyword t)
    (trim_start :returns String :keyword t)
    (trim_end :returns String :keyword t)
    (split :args ((separator StringPattern)
                  (limit Integer :optional t))
           :returns (:list String))
    (substr :args ((start Integer) (end Integer :optional t)) :returns String)
    (escape_json :returns String :keyword t))
  "Builtin methods shared by String-like value types.")