I expect that when I input CREATE TYPE NAME, it matches the CreateNode statement and recognizes TYPE as NodeType and NAME as NodeName. However, when I test in the interactive editor, I find that when I input CREATE nodeType, it prompts Expected " ", which seems to indicate that the space I entered is not being recognized. How can I resolve this issue?
Here is my grammar definition.
I expect that when I input
CREATE TYPE NAME
, it matches theCreateNode
statement and recognizesTYPE
asNodeType
andNAME
asNodeName
. However, when I test in the interactive editor, I find that when I inputCREATE nodeType
, it promptsExpected " "
, which seems to indicate that the space I entered is not being recognized. How can I resolve this issue? Here is my grammar definition.