internal void InitializeABParser(ABParserConfiguration config) { // Set the tokens. Tokens = config.Tokens; // Then, initialize the base parser. InitializeBaseParser(config); BeforeTokenProcessedArgs = new BeforeTokenProcessedEventArgs(this); OnTokenProcessedArgs = new OnTokenProcessedEventArgs(this); OnEndArgs = new OnEndEventArgs(); OFUCPPos = 0; OnTokenProcessedPreviousTokenInfo = new TokenInformation(); OnTokenProcessedTokenInfo = new TokenInformation(); CurrentEventTokenInfo = new TokenInformation(); }
internal void InitializeBaseParser(ABParserConfiguration tokens) => _baseParser = NativeMethods.CreateBaseParser(tokens.TokensStorage);
protected ABParser(ABParserConfiguration config) => InitializeABParser(config);