|
Last change
on this file was 6, checked in by Gary Byers, 21 years ago |
|
Initial revision
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
735 bytes
|
| Line | |
|---|
| 1 | (in-package :spell)
|
|---|
| 2 |
|
|---|
| 3 | (defclass dictionary ()
|
|---|
| 4 | ((string-table :accessor string-table :initarg :string-table)
|
|---|
| 5 | (descriptors :accessor descriptors :initarg :descriptors)
|
|---|
| 6 | ;; maps from hashes of strings to their corresponding descriptors
|
|---|
| 7 | (descriptor-table :accessor descriptor-table
|
|---|
| 8 | :initarg :descriptor-table)
|
|---|
| 9 | (free-descriptors :accessor free-descriptors
|
|---|
| 10 | :initarg :free-descriptors
|
|---|
| 11 | :initform 0)
|
|---|
| 12 | (free-string-table-bytes :accessor free-string-table-bytes
|
|---|
| 13 | :initarg :free-string-table-bytes
|
|---|
| 14 | :initform 0)))
|
|---|
| 15 |
|
|---|
| 16 | (defstruct (descriptor
|
|---|
| 17 | (:conc-name desc-))
|
|---|
| 18 | hash-code
|
|---|
| 19 | length
|
|---|
| 20 | string-index
|
|---|
| 21 | flags)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.