From e1de91801727634c34ab408c62e5a4938f9cdc6d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 27 Aug 2024 21:49:27 +0200 Subject: use LDoc module header --- parser.lua | 27 +++++++-------------------- 1 file 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 . --- --- 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 = {} -- cgit v1.2.3