Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit885a13d

Browse files
committed
CFG: CNF transformation with description of steps
1 parent724ec16 commit885a13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/ContextFreeGrammar/ContextFreeGrammar.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ export class ContextFreeGrammar {
563563
}
564564

565565
publiccnf():ContextFreeGrammar;
566-
publiccnf(step:(cfg:ContextFreeGrammar)=>void):ContextFreeGrammar;
567-
publiccnf(step?:(cfg:ContextFreeGrammar)=>void):ContextFreeGrammar{
566+
publiccnf(step:StepCallback<ContextFreeGrammar>):ContextFreeGrammar;
567+
publiccnf(step?:StepCallback<ContextFreeGrammar>):ContextFreeGrammar{
568568
returnthis.bin(step).del(step).unit(step).term(step);
569569
}
570570
//#endregion Transformations

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp