Variable: majutsu-template--builtin-method-specs

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

Value

Large value
((AnnotationLine (commit :returns Commit :keyword t)
		 (content :returns Template :keyword t)
		 (line_number :returns Integer :keyword t)
		 (original_line_number :returns Integer :keyword t)
		 (first_line_in_hunk :returns Boolean :keyword t))
 (Commit (description :returns String :keyword t)
	 (trailers :returns (:list Trailer) :keyword t)
	 (change_id :returns ChangeId :keyword t)
	 (commit_id :returns CommitId :keyword t)
	 (parents :returns (:list Commit) :keyword t)
	 (author :returns Signature :keyword t)
	 (committer :returns Signature :keyword t)
	 (signature :returns (:option CryptographicSignature) :keyword
		    t)
	 (mine :returns Boolean :keyword t)
	 (working_copies :returns (:list WorkspaceRef) :keyword t)
	 (current_working_copy :returns Boolean :keyword t)
	 (bookmarks :returns (:list CommitRef) :keyword t)
	 (local_bookmarks :returns (:list CommitRef) :keyword t)
	 (remote_bookmarks :returns (:list CommitRef) :keyword t)
	 (tags :returns (:list CommitRef) :keyword t)
	 (local_tags :returns (:list CommitRef) :keyword t)
	 (remote_tags :returns (:list CommitRef) :keyword t)
	 (divergent :returns Boolean :keyword t)
	 (hidden :returns Boolean :keyword t)
	 (change_offset :returns (:option Integer) :keyword t)
	 (immutable :returns Boolean :keyword t)
	 (contained_in :args ((revset StringLiteral)) :returns Boolean)
	 (conflict :returns Boolean :keyword t)
	 (empty :returns Boolean :keyword t)
	 (diff :args ((files StringLiteral :optional t)) :returns
	       TreeDiff)
	 (files :args ((files StringLiteral :optional t)) :returns
		(:list TreeEntry))
	 (conflicted_files :returns (:list TreeEntry) :keyword t)
	 (root :returns Boolean :keyword t))
 (CommitEvolutionEntry (commit :returns Commit :keyword t)
		       (operation :returns (:option Operation)
				  :keyword t)
		       (predecessors :returns (:list Commit) :keyword
				     t)
		       (inter_diff :args
				   ((files StringLiteral :optional t))
				   :returns TreeDiff))
 (ChangeId (normal_hex :returns String :keyword t)
	   (short :args ((len Integer :optional t)) :returns String)
	   (shortest :args ((min_len Integer :optional t)) :returns
		     ShortestIdPrefix))
 (CommitId (short :args ((len Integer :optional t)) :returns String)
	   (shortest :args ((min_len Integer :optional t)) :returns
		     ShortestIdPrefix))
 (CommitRef (name :returns RefSymbol :keyword t)
	    (remote :returns (:option RefSymbol) :keyword t)
	    (present :returns Boolean :keyword t)
	    (conflict :returns Boolean :keyword t)
	    (normal_target :returns (:option Commit) :keyword t)
	    (removed_targets :returns (:list Commit) :keyword t)
	    (added_targets :returns (:list Commit) :keyword t)
	    (tracked :returns Boolean :keyword t)
	    (tracking_present :returns Boolean :keyword t)
	    (tracking_ahead_count :returns SizeHint :keyword t)
	    (tracking_behind_count :returns SizeHint :keyword t)
	    (synced :returns Boolean :keyword t))
 (ConfigValue (as_boolean :returns Boolean :keyword t)
	      (as_integer :returns Integer :keyword t)
	      (as_string :returns String :keyword t)
	      (as_string_list :returns (:list String) :keyword t))
 (CryptographicSignature (status :returns String :keyword t)
			 (key :returns String :keyword t)
			 (display :returns String :keyword t))
 (DiffStatEntry (bytes_delta :returns Integer :keyword t)
		(lines_added :returns Integer :keyword t)
		(lines_removed :returns Integer :keyword t)
		(path :returns RepoPath :keyword t)
		(display_diff_path :returns String :keyword t)
		(status :returns String :keyword t)
		(status_char :returns String :keyword t))
 (DiffStats (files :returns (:list DiffStatEntry) :keyword t)
	    (total_added :returns Integer :keyword t)
	    (total_removed :returns Integer :keyword t))
 (Email (local :returns String :keyword t)
	(domain :returns String :keyword t))
 (List (len :returns Integer :keyword t)
       (join :args ((separator Template)) :returns Template)
       (filter :args
	       ((predicate (:lambda (Any) Boolean) :specialize
			   :element-lambda))
	       :returns :self)
       (map :args
	    ((mapper (:lambda (Any) Any) :specialize :element-lambda))
	    :returns (:list Template) :returns-via
	    (:list-of-lambda-return mapper))
       (any :args
	    ((predicate (:lambda (Any) Boolean) :specialize
			:element-lambda))
	    :returns Boolean)
       (all :args
	    ((predicate (:lambda (Any) Boolean) :specialize
			:element-lambda))
	    :returns Boolean)
       (first :returns :element :keyword t)
       (last :returns :element :keyword t)
       (get :args ((index Integer)) :returns :element)
       (reverse :returns :self :keyword t)
       (skip :args ((count Integer)) :returns :self)
       (take :args ((count Integer)) :returns :self))
 ((:list Trailer)
  (contains_key :args ((key Stringify)) :returns Boolean))
 (Operation (attributes :returns String :keyword t)
	    (current_operation :returns Boolean :keyword t)
	    (description :returns String :keyword t)
	    (id :returns OperationId :keyword t)
	    (time :returns TimestampRange :keyword t)
	    (user :returns String :keyword t)
	    (snapshot :returns Boolean :keyword t)
	    (workspace_name :returns String :keyword t)
	    (root :returns Boolean :keyword t)
	    (parents :returns (:list Operation) :keyword t))
 (OperationId
  (short :args ((len Integer :optional t)) :returns String))
 (RepoPath (absolute :returns String :keyword t)
	   (display :returns String :keyword t)
	   (parent :returns (:option RepoPath) :keyword t))
 (RefSymbol (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))
 (ShortestIdPrefix (prefix :returns String :keyword t)
		   (rest :returns String :keyword t)
		   (upper :returns ShortestIdPrefix :keyword t)
		   (lower :returns ShortestIdPrefix :keyword t))
 (Signature (name :returns String :keyword t)
	    (email :returns Email :keyword t)
	    (timestamp :returns Timestamp :keyword t))
 (SizeHint (lower :returns Integer :keyword t)
	   (upper :returns (:option Integer) :keyword t)
	   (exact :returns (:option Integer) :keyword t)
	   (zero :returns Boolean :keyword t))
 (String (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))
 (Timestamp (ago :returns String :keyword t)
	    (format :args ((format StringLiteral)) :returns String)
	    (utc :returns Timestamp :keyword t)
	    (local :returns Timestamp :keyword t)
	    (after :args ((date StringLiteral)) :returns Boolean)
	    (before :args ((date StringLiteral)) :returns Boolean)
	    (since :args ((start Timestamp)) :returns TimestampRange))
 (TimestampRange (start :returns Timestamp :keyword t)
		 (end :returns Timestamp :keyword t)
		 (duration :returns String :keyword t))
 (Trailer (key :returns String :keyword t)
	  (value :returns String :keyword t))
 (TreeDiff (files :returns (:list TreeDiffEntry) :keyword t)
	   (color_words :args ((context Integer :optional t)) :returns
			Template)
	   (git :args ((context Integer :optional t)) :returns
		Template)
	   (stat :args ((width Integer :optional t)) :returns
		 DiffStats)
	   (summary :returns Template :keyword t))
 (TreeDiffEntry (path :returns RepoPath :keyword t)
		(display_diff_path :returns String :keyword t)
		(status :returns String :keyword t)
		(status_char :returns String :keyword t)
		(source :returns TreeEntry :keyword t)
		(target :returns TreeEntry :keyword t))
 (TreeEntry (path :returns RepoPath :keyword t)
	    (conflict :returns Boolean :keyword t)
	    (conflict_side_count :returns Integer :keyword t)
	    (file_type :returns String :keyword t)
	    (executable :returns Boolean :keyword t))
 (WorkspaceRef (name :returns RefSymbol :keyword t)
	       (target :returns Commit :keyword t)
	       (root :returns String :keyword t)))

Documentation

Built-in template method metadata.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defconst majutsu-template--builtin-method-specs
  `((AnnotationLine
     (commit :returns Commit :keyword t)
     (content :returns Template :keyword t)
     (line_number :returns Integer :keyword t)
     (original_line_number :returns Integer :keyword t)
     (first_line_in_hunk :returns Boolean :keyword t))
    (Commit
     (description :returns String :keyword t)
     (trailers :returns (:list Trailer) :keyword t)
     (change_id :returns ChangeId :keyword t)
     (commit_id :returns CommitId :keyword t)
     (parents :returns (:list Commit) :keyword t)
     (author :returns Signature :keyword t)
     (committer :returns Signature :keyword t)
     (signature :returns (:option CryptographicSignature) :keyword t)
     (mine :returns Boolean :keyword t)
     (working_copies :returns (:list WorkspaceRef) :keyword t)
     (current_working_copy :returns Boolean :keyword t)
     (bookmarks :returns (:list CommitRef) :keyword t)
     (local_bookmarks :returns (:list CommitRef) :keyword t)
     (remote_bookmarks :returns (:list CommitRef) :keyword t)
     (tags :returns (:list CommitRef) :keyword t)
     (local_tags :returns (:list CommitRef) :keyword t)
     (remote_tags :returns (:list CommitRef) :keyword t)
     (divergent :returns Boolean :keyword t)
     (hidden :returns Boolean :keyword t)
     (change_offset :returns (:option Integer) :keyword t)
     (immutable :returns Boolean :keyword t)
     (contained_in :args ((revset StringLiteral)) :returns Boolean)
     (conflict :returns Boolean :keyword t)
     (empty :returns Boolean :keyword t)
     (diff :args ((files StringLiteral :optional t)) :returns TreeDiff)
     (files :args ((files StringLiteral :optional t)) :returns (:list TreeEntry))
     (conflicted_files :returns (:list TreeEntry) :keyword t)
     (root :returns Boolean :keyword t))
    (CommitEvolutionEntry
     (commit :returns Commit :keyword t)
     (operation :returns (:option Operation) :keyword t)
     (predecessors :returns (:list Commit) :keyword t)
     (inter_diff :args ((files StringLiteral :optional t)) :returns TreeDiff))
    (ChangeId
     (normal_hex :returns String :keyword t)
     (short :args ((len Integer :optional t)) :returns String)
     (shortest :args ((min_len Integer :optional t)) :returns ShortestIdPrefix))
    (CommitId
     (short :args ((len Integer :optional t)) :returns String)
     (shortest :args ((min_len Integer :optional t)) :returns ShortestIdPrefix))
    (CommitRef
     (name :returns RefSymbol :keyword t)
     (remote :returns (:option RefSymbol) :keyword t)
     (present :returns Boolean :keyword t)
     (conflict :returns Boolean :keyword t)
     (normal_target :returns (:option Commit) :keyword t)
     (removed_targets :returns (:list Commit) :keyword t)
     (added_targets :returns (:list Commit) :keyword t)
     (tracked :returns Boolean :keyword t)
     (tracking_present :returns Boolean :keyword t)
     (tracking_ahead_count :returns SizeHint :keyword t)
     (tracking_behind_count :returns SizeHint :keyword t)
     (synced :returns Boolean :keyword t))
    (ConfigValue
     (as_boolean :returns Boolean :keyword t)
     (as_integer :returns Integer :keyword t)
     (as_string :returns String :keyword t)
     (as_string_list :returns (:list String) :keyword t))
    (CryptographicSignature
     (status :returns String :keyword t)
     (key :returns String :keyword t)
     (display :returns String :keyword t))
    (DiffStatEntry
     (bytes_delta :returns Integer :keyword t)
     (lines_added :returns Integer :keyword t)
     (lines_removed :returns Integer :keyword t)
     (path :returns RepoPath :keyword t)
     (display_diff_path :returns String :keyword t)
     (status :returns String :keyword t)
     (status_char :returns String :keyword t))
    (DiffStats
     (files :returns (:list DiffStatEntry) :keyword t)
     (total_added :returns Integer :keyword t)
     (total_removed :returns Integer :keyword t))
    (Email
     (local :returns String :keyword t)
     (domain :returns String :keyword t))
    (List
     (len :returns Integer :keyword t)
     (join :args ((separator Template)) :returns Template)
     (filter :args ((predicate (:lambda (Any) Boolean) :specialize :element-lambda))
             :returns :self)
     (map :args ((mapper (:lambda (Any) Any) :specialize :element-lambda))
          :returns (:list Template)
          :returns-via (:list-of-lambda-return mapper))
     (any :args ((predicate (:lambda (Any) Boolean) :specialize :element-lambda))
          :returns Boolean)
     (all :args ((predicate (:lambda (Any) Boolean) :specialize :element-lambda))
          :returns Boolean)
     (first :returns :element :keyword t)
     (last :returns :element :keyword t)
     (get :args ((index Integer)) :returns :element)
     (reverse :returns :self :keyword t)
     (skip :args ((count Integer)) :returns :self)
     (take :args ((count Integer)) :returns :self))
    ((:list Trailer)
     (contains_key :args ((key Stringify)) :returns Boolean))
    (Operation
     (attributes :returns String :keyword t)
     (current_operation :returns Boolean :keyword t)
     (description :returns String :keyword t)
     (id :returns OperationId :keyword t)
     (time :returns TimestampRange :keyword t)
     (user :returns String :keyword t)
     (snapshot :returns Boolean :keyword t)
     (workspace_name :returns String :keyword t)
     (root :returns Boolean :keyword t)
     (parents :returns (:list Operation) :keyword t))
    (OperationId
     (short :args ((len Integer :optional t)) :returns String))
    (RepoPath
     (absolute :returns String :keyword t)
     (display :returns String :keyword t)
     (parent :returns (:option RepoPath) :keyword t))
    (RefSymbol
     ,@majutsu-template--string-method-specs)
    (ShortestIdPrefix
     (prefix :returns String :keyword t)
     (rest :returns String :keyword t)
     (upper :returns ShortestIdPrefix :keyword t)
     (lower :returns ShortestIdPrefix :keyword t))
    (Signature
     (name :returns String :keyword t)
     (email :returns Email :keyword t)
     (timestamp :returns Timestamp :keyword t))
    (SizeHint
     (lower :returns Integer :keyword t)
     (upper :returns (:option Integer) :keyword t)
     (exact :returns (:option Integer) :keyword t)
     (zero :returns Boolean :keyword t))
    (String
     ,@majutsu-template--string-method-specs)
    (Timestamp
     (ago :returns String :keyword t)
     (format :args ((format StringLiteral)) :returns String)
     (utc :returns Timestamp :keyword t)
     (local :returns Timestamp :keyword t)
     (after :args ((date StringLiteral)) :returns Boolean)
     (before :args ((date StringLiteral)) :returns Boolean)
     (since :args ((start Timestamp)) :returns TimestampRange))
    (TimestampRange
     (start :returns Timestamp :keyword t)
     (end :returns Timestamp :keyword t)
     (duration :returns String :keyword t))
    (Trailer
     (key :returns String :keyword t)
     (value :returns String :keyword t))
    (TreeDiff
     (files :returns (:list TreeDiffEntry) :keyword t)
     (color_words :args ((context Integer :optional t)) :returns Template)
     (git :args ((context Integer :optional t)) :returns Template)
     (stat :args ((width Integer :optional t)) :returns DiffStats)
     (summary :returns Template :keyword t))
    (TreeDiffEntry
     (path :returns RepoPath :keyword t)
     (display_diff_path :returns String :keyword t)
     (status :returns String :keyword t)
     (status_char :returns String :keyword t)
     (source :returns TreeEntry :keyword t)
     (target :returns TreeEntry :keyword t))
    (TreeEntry
     (path :returns RepoPath :keyword t)
     (conflict :returns Boolean :keyword t)
     (conflict_side_count :returns Integer :keyword t)
     (file_type :returns String :keyword t)
     (executable :returns Boolean :keyword t))
    (WorkspaceRef
     (name :returns RefSymbol :keyword t)
     (target :returns Commit :keyword t)
     (root :returns String :keyword t)))
  "Built-in template method metadata.")