Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elringus committed Dec 11, 2024
1 parent 1328836 commit 9850e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/custom-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ After switching script parser in the configuration, it's required to re-import s
Below is an example of a custom parser, which automatically inserts wait commands after each `...` found in the source script text.

```csharp
public class CustomParser : ScriptParser
public class CustomParser : ScriptAssetParser
{
public override Script ParseText (string scriptPath, string scriptText,
ParseOptions options = default)
Expand All @@ -33,7 +33,7 @@ Notice, that instead of implementing `IScriptParser` interface from scratch, the
```csharp
using Naninovel;

public class CustomParser : ScriptParser
public class CustomParser : ScriptAssetParser
{
protected override GenericTextLineParser GenericTextLineParser { get; }
= new CustomGenericLineParser();
Expand Down

0 comments on commit 9850e72

Please sign in to comment.