Skip to content

Commit 1a8492e

Browse files
committed
Rename importer to visitor
1 parent 27aace9 commit 1a8492e

File tree

2 files changed

+116
-116
lines changed

2 files changed

+116
-116
lines changed

src/FAST-Python-Tools/FASTPythonImporter.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ FASTPythonImporter class >> devFASTPythonMenu: aBuilder [
3535
icon: (self iconNamed: #smallNew);
3636
action: [ self devParseFiles: ('/Users/cyril/marius/10batches' asFileReference allFiles select: [ :f | f extension = 'py' ]) ].
3737
(aBuilder item: #'Toggle FAST Importer Debug mode')
38-
action: [ TSFASTImporter isInDebugMode: TSFASTImporter isInDebugMode not ];
38+
action: [ TSFASTVisitor isInDebugMode: TSFASTVisitor isInDebugMode not ];
3939
order: 99999;
4040
withSeparatorAfter;
4141
help: 'If this is enabled, errors will not be caught in the FAST importing but passed.';
@@ -129,7 +129,7 @@ FASTPythonImporter >> parse: aString [
129129
self initialiseTreeSitterParser.
130130

131131
tsTree := self tsParser parseString: aString.
132-
fastTree := TSFASTPythonImporter new
132+
fastTree := TSFASTPythonVisitor new
133133
originString: aString;
134134
in: [ :importer | errorReportBlock ifNotNil: [ importer errorReportBlock: errorReportBlock ] ];
135135
import: tsTree rootNode.

0 commit comments

Comments
 (0)