diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-08-27 21:49:27 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-08-27 22:16:14 +0200 |
| commit | e1de91801727634c34ab408c62e5a4938f9cdc6d (patch) | |
| tree | 541ba3844f2b5576f91c60dd434f44d2f09a07c2 | |
| parent | ddd0b28faeafae83f8ad97bd78a10bb9b6eed33f (diff) | |
| download | vis-lspc-e1de91801727634c34ab408c62e5a4938f9cdc6d.tar.gz vis-lspc-e1de91801727634c34ab408c62e5a4938f9cdc6d.zip | |
use LDoc module header
| -rw-r--r-- | parser.lua | 27 |
1 files changed, 7 insertions, 20 deletions
@@ -1,24 +1,11 @@ --- Copyright (c) 2021-2024 Florian Fischer. All rights reserved. --- --- This file is part of vis-lspc. --- --- vis-lspc is free software: you can redistribute it and/or modify it under the --- terms of the GNU General Public License as published by the Free Software --- Foundation, either version 3 of the License, or (at your option) any later --- version. --- --- vis-lspc is distributed in the hope that it will be useful, but WITHOUT ANY --- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License along with --- vis-lspc found in the LICENSE file. If not, see <https://www.gnu.org/licenses/>. --- --- Parse the data send by a language server +--- Stateful parser for the data send by a language server. -- Note the chunks received may not end with the end of a message. --- In the worst case a data chunk contains two partial messages on at the beginning --- and one at the end ---- @module parser +-- In the worst case a data chunk contains two partial messages one +-- at the beginning and one at the end. +-- @module parser +-- @author Florian Fischer +-- @license GPL-3 +-- @copyright Florian Fischer 2021-2024 local parser = {} local Parser = {} |
