We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3726f8a commit f40e8aaCopy full SHA for f40e8aa
lua/cpp-tools/lib/luakittens/parser.lua
@@ -4,6 +4,17 @@ local M = {}
4
-- Types
5
--------------------------------------------------
6
7
+--[[
8
+
9
+This is a very basic implementation, but I will rewrite the parsing to use a handwritten parser
10
+because the lpeg re implementation isn't sufficient and doesn't allow for any remotely useful diagnostics.
11
12
+The current implementation lacks the ability to express alternative types in complex types.
13
+The blocker is that with this lpeg parser it's impossible to not make things like `[]string|number` ambiguous
14
+(this gets parsed as `[](string|number)`).
15
16
+]]
17
18
---@alias cpp-tools.luakittens.Kitten string
19
20
---@package
0 commit comments