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(); }
protected override void OnEnd(OnEndEventArgs args) { EndLeading = args.GetLeadingAsString(); }
/// <summary> /// Called when we finish a parse. /// </summary> protected virtual void OnEnd(OnEndEventArgs args) { }