:documentation
"List of `semanticdb-table' objects refering to this one.
These aren't saved, but are instead recalculated after load.
-See the file semanticdb-ref.el for how this slot is used.")
+See the file semantic/db-ref.el for how this slot is used.")
(pointmax :initarg :pointmax
:initform nil
:documentation "Size of buffer when written to disk.
needed. Cache objects are identified in semanticdb by subclass.
In order to keep your cache up to date, be sure to implement
`semanticdb-synchronize', and `semanticdb-partial-synchronize'.
-See the file semantic-scope.el for an example."
+See the file semantic/scope.el for an example."
:abstract t)
(defmethod semanticdb-cache-get ((table semanticdb-abstract-table)
(setq cache (cdr cache)))
(if obj
obj ;; Just return it.
- ;; No object, lets create a new one and return that.
+ ;; No object, let's create a new one and return that.
(setq obj (funcall desired-class "Cache" :table table))
(object-add-to-list table 'cache obj)
obj)))
needed. Cache objects are identified in semanticdb by subclass.
In order to keep your cache up to date, be sure to implement
`semanticdb-synchronize', and `semanticdb-partial-synchronize'.
-See the file semantic-scope.el for an example."
+See the file semantic/scope.el for an example."
:abstract t)
(defmethod semanticdb-cache-get ((db semanticdb-project-database)
(setq cache (cdr cache)))
(if obj
obj ;; Just return it.
- ;; No object, lets create a new one and return that.
+ ;; No object, let's create a new one and return that.
(setq obj (funcall desired-class "Cache" :db db))
(object-add-to-list db 'cache obj)
obj)))
;; The lexical table should be good too.
(when (featurep 'semantic/lex-spp)
(oset table lexical-table (semantic-lex-spp-save-table)))
- ;; this implies dirtyness
+ ;; this implies dirtiness
(semanticdb-set-dirty table)
;; Synchronize the index
(when (featurep 'semantic/lex-spp)
(oset table lexical-table (semantic-lex-spp-save-table)))
- ;; Incremental parser doesn't mokey around with this.
+ ;; Incremental parser doesn't monkey around with this.
(oset table unmatched-syntax semantic-unmatched-syntax-cache)
;; Synchronize the index
then load the tags for FILE, and create a new table object for it.
DONTLOAD does not affect the creation of new database objects."
;; (message "Object Translate: %s" file)
- (when (file-exists-p file)
+ (when (and file (file-exists-p file))
(let* ((default-directory (file-name-directory file))
(tab (semanticdb-file-table-object-from-hash file))
(fullfile nil))
(setq fullfile (file-truename file))
)
- ;; If we have a table, but no fullfile, that's ok. Lets get the filename
+ ;; If we have a table, but no fullfile, that's ok. Let's get the filename
;; from the table which is pre-truenamed.
(when (and (not fullfile) tab)
(setq fullfile (semanticdb-full-filename tab)))