File tree Expand file tree Collapse file tree 2 files changed +116
-116
lines changed
Expand file tree Collapse file tree 2 files changed +116
-116
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments