aboutsummaryrefslogtreecommitdiff
path: root/parser.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-08-27 21:49:27 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-08-27 22:16:14 +0200
commite1de91801727634c34ab408c62e5a4938f9cdc6d (patch)
tree541ba3844f2b5576f91c60dd434f44d2f09a07c2 /parser.lua
parentddd0b28faeafae83f8ad97bd78a10bb9b6eed33f (diff)
downloadvis-lspc-e1de91801727634c34ab408c62e5a4938f9cdc6d.tar.gz
vis-lspc-e1de91801727634c34ab408c62e5a4938f9cdc6d.zip
use LDoc module header
Diffstat (limited to 'parser.lua')
-rw-r--r--parser.lua27
1 files changed, 7 insertions, 20 deletions
diff --git a/parser.lua b/parser.lua
index c0b9e85..3afc666 100644
--- a/parser.lua
+++ b/parser.lua
@@ -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 = {}