
When I point the Language Designer tool's parser debugger to my dll, I get an error message saying, "No non-abstract classes that implement ILLParser and have a parameterless constructor were found in the assembly." I'm confident it should be picking up my LuaParser class, though.
This is what the class looks like:
public class LuaParser : LLParserBase, ILLParser
{
/// <inheritdoc />
public LuaParser()
: base(new LuaGrammar())
{
}
/// <inheritdoc />
public override ITokenReader CreateTokenReader(ITextBufferReader reader)
{
return new LuaTokenReader(reader, new LuaLexer(new LuaClassificationTypeProvider()));
}
/// <inheritdoc />
protected override IParseData CreateParseData(IParseRequest request, IParserState state)
{
var parseData = new LuaParseData();
this.InitializeParseData(parseData, state);
return parseData;
}
}
I've tried explicitly implementing ILLParser in addition to extending LLParserBase, opening the dll from both debug and release builds, and pointing the debugger to other dlls from the solution, all without success.