public override bool Accept(FSharpPreprocessor fSharpPreprocessor) => fSharpPreprocessor.Visit(this);
public FSharpPreprocessedLexer(IBuffer buffer, FSharpPreprocessor preprocessor, HashSet <string> definedConstants) { myLexer = new FSharpLexer(buffer); myPreprocessor = preprocessor; myDefinedConstants = definedConstants; }
public abstract bool Accept(FSharpPreprocessor fSharpPreprocessor);
public FSharpPreprocessedLexer(ILexer lexer, FSharpPreprocessor preprocessor, HashSet <string> definedConstants) { myLexer = lexer is CachingLexer cachingLexer ? cachingLexer : lexer.ToCachingLexer(); myPreprocessor = preprocessor; myDefinedConstants = definedConstants; }