aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 15a35a5..8f9f01c 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,7 @@ The JSON format of tokens that `maleeni lex` command prints is as follows:
|-----------|-------------------|----------------------------------------------------------------------------------------|
| mode | integer | `mode` represents a number that corresponds to a `mode_name`. |
| mode_name | string | `mode_name` is a mode name that represents in which mode the lexer detected the token. |
+| kind_id | integer | `kind_id` represents an ID of a kind and is unique among modes. |
| kind | integer | `kind` represents a number that corresponds to a `KindName`. |
| kind_name | string | `kind_name` is a kind name that represents what kind the token has. |
| match | array of integers | `match` is a byte sequence matched a pattern of a lexical specification. |