Posted 16 years ago
by Martin de Jong
-
Statistics Netherlands

I have a class inherited from SyntaxLanguage. Now i want to associate my lexical parser (its Antlr-made) with it. I thought in the overridden
i should call the lexer? But how to return the tokens. In parsetarget there is a readonly tokencollection. Please give me a hint:)
public override ActiproSoftware.SyntaxEditor.TextRange PerformLexicalParse(ActiproSoftware.SyntaxEditor.Document document, ActiproSoftware.SyntaxEditor.TextRange parseTextRange, ActiproSoftware.SyntaxEditor.ILexicalParseTarget parseTarget)