task_id
int64
0
2.26k
repository
stringclasses
18 values
commit_hash
stringclasses
241 values
filepath
stringclasses
237 values
original_method
stringlengths
21
4.65k
context
listlengths
0
77
masking
dict
800
https://github.com/Evref-BL/Pharo-Tree-Sitter
247044f073d6c869ae577fa2870541c4e0357488
src/TreeSitter-Tests/TSParsingWithErrorTest.class.st
setUp super setUp. parser := TSParser new. typescriptLanguage := TSLanguage typescript. parser language: typescriptLanguage .
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSPythonLibrary.class.st", "code": "FFILibrary subclass: #TSPythonLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Python'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSP...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "setUp\n\n\tsuper setUp.\n\n\tparser := TSParser new.\n\ttypescriptLanguage", "suffix": ".\n\tparser language: typescriptLanguage .", "completion": " := TSLanguage typescript" }
801
https://github.com/Evref-BL/Pharo-Tree-Sitter
247044f073d6c869ae577fa2870541c4e0357488
src/TreeSitter-Tests/TSParsingWithErrorTest.class.st
testError1 | originalString originalTree newTree| originalString := 'function printHello(): void { console.log(''Hello!''); }'. originalTree := parser parseString: originalString. "before edit" self assert: originalTree rootNode hasChanges equals: false. self assert: originalTree rootNode collectNamedChild s...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSPythonLibrary.class.st", "code": "FFILibrary subclass: #TSPythonLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Python'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSP...
{ "fim_idx": 5, "mask_type": "keyword_message", "n_masked_tokens": 5, "prefix": "testError1\n\n\t| originalString originalTree newTree|\n\n\toriginalString := 'function printHello(): void { console.log(''Hello!''); }'.\n\toriginalTree := parser parseString: originalString.\n\t\n\t\"before edit\"\n\tself assert:...
802
https://github.com/Evref-BL/Pharo-Tree-Sitter
247044f073d6c869ae577fa2870541c4e0357488
src/TreeSitter-Tests/TSParsingWithErrorTest.class.st
testError1 | originalString originalTree newTree| originalString := 'function printHello(): void { console.log(''Hello!''); }'. originalTree := parser parseString: originalString. "before edit" self assert: originalTree rootNode hasChanges equals: false. self assert: originalTree rootNode collectNamedChild s...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSPythonLibrary.class.st", "code": "FFILibrary subclass: #TSPythonLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Python'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSP...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 6, "prefix": "testError1\n\n\t| originalString originalTree newTree|\n\n\toriginalString := 'function printHello(): void { console.log(''Hello!''); }'.\n\toriginalTree := parser parseString: originalString.\n\t\n\t\"before edit\"\n\tself assert: orig...
803
https://github.com/Evref-BL/Pharo-Tree-Sitter
247044f073d6c869ae577fa2870541c4e0357488
src/TreeSitter-Tests/TSParsingWithErrorTest.class.st
testError1 | originalString originalTree newTree| originalString := 'function printHello(): void { console.log(''Hello!''); }'. originalTree := parser parseString: originalString. "before edit" self assert: originalTree rootNode hasChanges equals: false. self assert: originalTree rootNode collectNamedChild s...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSPythonLibrary.class.st", "code": "FFILibrary subclass: #TSPythonLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Python'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Python/TSP...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "testError1\n\n\t| originalString originalTree newTree|\n\n\toriginalString := 'function printHello(): void { console.log(''Hello!''); }'.\n\toriginalTree", "suffix": ".\n\t\n\t\"before edit\"\n\tself assert: originalTree rootNode hasC...
804
https://github.com/Evref-BL/Pharo-Tree-Sitter
da33c9d03729b644bf4bc50b52ef1445bf0530d0
src/TreeSitter/TSNode.class.st
hasChildren ^ self collectNamedChild isNotEmpty
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter/TSSymbolType.class.st", "code": "FFIEnumeration subclass: #TSSymbolType\n\tinstanceVariableNames: ''\n\tclassVariableNames: 'TSSymbolTypeAnonymous TSSymbolTypeAuxiliary TSSymbolTypeRegular TSSymbolTypeSupertype'\n\tpackage: 'TreeSitter'" }, { ...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "hasChildren\n\n\t^", "suffix": "", "completion": " self collectNamedChild isNotEmpty" }
805
https://github.com/Evref-BL/Pharo-Tree-Sitter
da33c9d03729b644bf4bc50b52ef1445bf0530d0
src/TreeSitter/TSNode.class.st
isErrorNode ^ self type = 'ERROR'
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter/TSSymbolType.class.st", "code": "FFIEnumeration subclass: #TSSymbolType\n\tinstanceVariableNames: ''\n\tclassVariableNames: 'TSSymbolTypeAnonymous TSSymbolTypeAuxiliary TSSymbolTypeRegular TSSymbolTypeSupertype'\n\tpackage: 'TreeSitter'" }, { ...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "isErrorNode\n\n\t^ self", "suffix": "", "completion": " type = 'ERROR'" }
806
https://github.com/Evref-BL/Pharo-Tree-Sitter
4cc1fe94ceaecba7fb6338b24a275b848d328bb7
src/TreeSitter-FAST-Utils/TSFASTImporter.class.st
fillSource: aTextSource [((model allWithSubTypesOfAny: { FASTTypescriptClass_declaration. FASTTypescriptInterface_declaration. FASTTypescriptEnum_declaration }) detect: [ :aDeclaration | aDeclaration parentNode isNil ]) source: aTextSource ] on: Error do: [ :err | ('FAST Err parsing: ' , String c...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "keyword_message", "n_masked_tokens": 10, "prefix": "fillSource: aTextSource\n\n[((model allWithSubTypesOfAny: {\n\t\t\t FASTTypescriptClass_declaration.\n\t\t\t FASTTypescriptInterface_declaration.\n\t\t\t FASTTypescriptEnum_declaration }) detect: [ :aDeclaration | aDeclaration ...
807
https://github.com/Evref-BL/Pharo-Tree-Sitter
4cc1fe94ceaecba7fb6338b24a275b848d328bb7
src/TreeSitter-FAST-Utils/TSFASTImporter.class.st
fillSource: aTextSource [((model allWithSubTypesOfAny: { FASTTypescriptClass_declaration. FASTTypescriptInterface_declaration. FASTTypescriptEnum_declaration }) detect: [ :aDeclaration | aDeclaration parentNode isNil ]) source: aTextSource ] on: Error do: [ :err | ('FAST Err parsing: ' , String c...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 1, "mask_type": "keyword_message", "n_masked_tokens": 10, "prefix": "fillSource: aTextSource\n\n[((model allWithSubTypesOfAny: {\n\t\t\t FASTTypescriptClass_declaration.\n\t\t\t FASTTypescriptInterface_declaration.\n\t\t\t FASTTypescriptEnum_declaration }) detect: [", "suffix": " ]\n\t\ton: Er...
808
https://github.com/Evref-BL/Pharo-Tree-Sitter
4cc1fe94ceaecba7fb6338b24a275b848d328bb7
src/TreeSitter-FAST-Utils/TSFASTImporter.class.st
fillSource: aTextSource [((model allWithSubTypesOfAny: { FASTTypescriptClass_declaration. FASTTypescriptInterface_declaration. FASTTypescriptEnum_declaration }) detect: [ :aDeclaration | aDeclaration parentNode isNil ]) source: aTextSource ] on: Error do: [ :err | ('FAST Err parsing: ' , String c...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "unary_message", "n_masked_tokens": 5, "prefix": "fillSource: aTextSource\n\n[((model allWithSubTypesOfAny: {\n\t\t\t FASTTypescriptClass_declaration.\n\t\t\t FASTTypescriptInterface_declaration.\n\t\t\t FASTTypescriptEnum_declaration }) detect: [ :aDeclaration | aDeclaration par...
809
https://github.com/Evref-BL/Pharo-Tree-Sitter
4f86d3344bf6a09ec7dd73c469157e7bc5266612
src/TreeSitter-Python/TSPythonLibrary.class.st
macLibraryName "Users should use unix32* or unix64*" ^ FFIMacLibraryFinder findAnyLibrary: #( 'tree-sitter-python.dylib' )
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter/TSNode.class.st", "code": "FFIStructure subclass: #TSNode\n\tinstanceVariableNames: ''\n\tclassVariableNames: 'OFFSET_CONTEXT0 OFFSET_CONTEXT1 OFFSET_CONTEXT2 OFFSET_CONTEXT3 OFFSET_ID OFFSET_TREE'\n\tpackage: 'TreeSitter'" }, { "filepath": ...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 5, "prefix": "macLibraryName\n\t\"Users should use unix32* or unix64*\"\n\n\t^", "suffix": "", "completion": " FFIMacLibraryFinder findAnyLibrary: #( 'tree-sitter-python.dylib' )" }
810
https://github.com/Evref-BL/Pharo-Tree-Sitter
4f86d3344bf6a09ec7dd73c469157e7bc5266612
src/TreeSitter-Typescript/TSTypescriptLibrary.class.st
macLibraryName "Users should use unix32* or unix64*" ^ FFIMacLibraryFinder findAnyLibrary: #( 'tree-sitter-typescript.dylib' )
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter/TSNode.class.st", "code": "FFIStructure subclass: #TSNode\n\tinstanceVariableNames: ''\n\tclassVariableNames: 'OFFSET_CONTEXT0 OFFSET_CONTEXT1 OFFSET_CONTEXT2 OFFSET_CONTEXT3 OFFSET_ID OFFSET_TREE'\n\tpackage: 'TreeSitter'" }, { "filepath": ...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 4, "prefix": "macLibraryName\n\t\"Users should use unix32* or unix64*\"\n\n\t^ FFIMacLibraryFinder", "suffix": "", "completion": " findAnyLibrary: #( 'tree-sitter-typescript.dylib' )" }
811
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitter | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter.git ', clonePath. self logInTreanscript: 'Start cloning TreeSitter in' , clonePath. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "keyword_message", "n_masked_tokens": 3, "prefix": "cloneTreeSitter\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.com/tree-si...
812
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitter | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter.git ', clonePath. self logInTreanscript: 'Start cloning TreeSitter in' , clonePath. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 4, "mask_type": "keyword_message", "n_masked_tokens": 8, "prefix": "cloneTreeSitter\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.com/tree-si...
813
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitter | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter.git ', clonePath. self logInTreanscript: 'Start cloning TreeSitter in' , clonePath. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cloneTreeSitter\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.com/tree-sitter/...
814
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitterPython | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter-python'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git ' , clonePath. self logInTreanscript: 'Star...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 5, "mask_type": "keyword_message", "n_masked_tokens": 4, "prefix": "cloneTreeSitterPython\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter-python'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://githu...
815
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitterPython | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter-python'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git ' , clonePath. self logInTreanscript: 'Star...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cloneTreeSitterPython\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter-python'.\n\n\t\"Execute clone command\"\n\tcloneCommand", "suffix": ".\n\n\tself logIn...
816
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitterPython | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter-python'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git ' , clonePath. self logInTreanscript: 'Star...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cloneTreeSitterPython\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath :=", "suffix": ".\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git...
817
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitterTypescript | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter-typescript'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-typescript.git ' , clonePath. self logInTreanscr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "keyword_message", "n_masked_tokens": 4, "prefix": "cloneTreeSitterTypescript\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter-typescript'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https...
818
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitterTypescript | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter-typescript'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-typescript.git ' , clonePath. self logInTreanscr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cloneTreeSitterTypescript\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter-typescript'.\n\n\t\"Execute clone command\"\n\tcloneCommand", "suffix": ".\n\n\tse...
819
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cloneTreeSitterTypescript | clonePath cloneCommand status | "Construct clone path" clonePath := self dependenciesDirectory , '/tree-sitter-typescript'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-typescript.git ' , clonePath. self logInTreanscr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 5, "mask_type": "keyword_message", "n_masked_tokens": 4, "prefix": "cloneTreeSitterTypescript\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self dependenciesDirectory , '/tree-sitter-typescript'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https...
820
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command, '&& mkdir -p build'. command := command, '&& cd build'. command := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'. command := command, '&& ninja'. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdMacTreeSitter\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& mkdir -p build'.\n\tcommand :=", "suffix": ".\n\tcommand := command, '&& cmake...
821
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command, '&& mkdir -p build'. command := command, '&& cd build'. command := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'. command := command, '&& ninja'. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdMacTreeSitter\n\t| path command |\n\t\n\tpath := self", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& mkdir -p build'.\n\tcommand := command, '&& cd build'.\n\tcommand := command, '&& cmake -G Ninja .. -DCMAKE...
822
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command, '&& mkdir -p build'. command := command, '&& cd build'. command := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'. command := command, '&& ninja'. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitter\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& mkdir -p build'.\n\tcommand := command, '&& cd build'.\n\tcommand", "suffix": ...
823
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath :=", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'.\n\t\n\t^ command", ...
824
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-python'.\n\tcommand :=", "suffix": ".\n\tcommand := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -...
825
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-python'.\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\t\n\t^ command", "completion": " := command, '&& gcc -shared -o tr...
826
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescript/sr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the library ge...
827
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescript/sr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := self", "suffix": ".\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the library generation fails\"\n\tsrcPath := self dependenc...
828
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescript/sr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the library ge...
829
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& mkdir -p build'. command := command , '&& cd build'. command := command , '&& cmake -G Ninja ..'. command := command , '&& ninja'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitter\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand", "suffix": ".\n\tcommand := command , '&& mkdir -p build'.\n\tcommand := command , '&& cd build'.\n\tcommand := command...
830
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& mkdir -p build'. command := command , '&& cd build'. command := command , '&& cmake -G Ninja ..'. command := command , '&& ninja'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitter\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand := command , '&& mkdir -p build'.\n\tcommand", "suffix": ".\n\tcommand := command , '&& cmak...
831
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& mkdir -p build'. command := command , '&& cd build'. command := command , '&& cmake -G Ninja ..'. command := command , '&& ninja'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitter\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand := command , '&& mkdir -p build'.\n\tcommand := command , '&& cd build'.\n\tcommand :=", "su...
832
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\t\n\tpath", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'.\n\n\t^ command", "completion": " ...
833
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand", "suffix": ".\n\tcommand := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'.\...
834
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\n\t^ command", "completion": " := command , '&& gcc -shared -o ...
835
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescri...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 9, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the libr...
836
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescri...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the libr...
837
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
cmdWindowsTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescri...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the libr...
838
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
dependenciesDirectory "check if this works for any OS" ^ FileLocator documents fullName , '/tree-sitter-dependencies'
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "dependenciesDirectory\n\n\t\"check if this works for any OS\"\n\n\t^ FileLocator documents", "suffix": "", "completion": " fullName , '/tree-sitter-dependencies'" }
839
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitter ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitter ] ifFalse: [ command := self cmdLinuxTreeSitter ] ]. self logInTreanscript: 'Start generating TreeSitter library'. "Run...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitter ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitter ]\n\t\t\t\tifFalse: [ ...
840
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitter ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitter ] ifFalse: [ command := self cmdLinuxTreeSitter ] ]. self logInTreanscript: 'Start generating TreeSitter library'. "Run...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "generateTreeSitterLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitter ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitter ]\n\t\t\t\tifFalse: [ ...
841
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitter ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitter ] ifFalse: [ command := self cmdLinuxTreeSitter ] ]. self logInTreanscript: 'Start generating TreeSitter library'. "Run...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "keyword_message", "n_masked_tokens": 6, "prefix": "generateTreeSitterLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitter ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitter ]\n\t\t\t\tifFals...
842
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterPythonLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitterPython ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitterPython ] ifFalse: [ command := self cmdLinuxTreeSitterPython ] ]. self logInTreanscript: 'Start generating Tre...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterPythonLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitterPython ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitterPython ]\n\...
843
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterPythonLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitterPython ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitterPython ] ifFalse: [ command := self cmdLinuxTreeSitterPython ] ]. self logInTreanscript: 'Start generating Tre...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterPythonLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitterPython ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command", "suffix": " ]\n\t\t\t\tifFalse: [ c...
844
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterPythonLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitterPython ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitterPython ] ifFalse: [ command := self cmdLinuxTreeSitterPython ] ]. self logInTreanscript: 'Start generating Tre...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "keyword_message", "n_masked_tokens": 6, "prefix": "generateTreeSitterPythonLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitterPython ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitterPython...
845
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterTypescriptLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitterTypescript ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitterTypescript ] ifFalse: [ command := self cmdLinuxTreeSitterTypescript ] ]. self logInTreanscript: 'Star...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 2, "mask_type": "keyword_message", "n_masked_tokens": 8, "prefix": "generateTreeSitterTypescriptLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitterTypescript ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitt...
846
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterTypescriptLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitterTypescript ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitterTypescript ] ifFalse: [ command := self cmdLinuxTreeSitterTypescript ] ]. self logInTreanscript: 'Star...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 6, "mask_type": "keyword_message", "n_masked_tokens": 6, "prefix": "generateTreeSitterTypescriptLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitterTypescript ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command := self cmdWindowsTreeSitt...
847
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterTypescriptLibraries | command status | self isMacOS ifTrue: [ command := self cmdMacTreeSitterTypescript ] ifFalse: [ self isWindows ifTrue: [ command := self cmdWindowsTreeSitterTypescript ] ifFalse: [ command := self cmdLinuxTreeSitterTypescript ] ]. self logInTreanscript: 'Star...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterTypescriptLibraries\n\n\t| command status |\n\n\tself isMacOS\n\t\tifTrue: [ command := self cmdMacTreeSitterTypescript ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ command", "suffix": " ]\n\t\t\t\tifFa...
848
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
isLinux "Smalltalk os isLinux" ^ OSPlatform current isLinux
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "isLinux\n\t\"Smalltalk os isLinux\"\n\n\t^", "suffix": "", "completion": " OSPlatform current isLinux" }
849
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
isMacOS ^ OSPlatform current isMacOS
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "isMacOS\n\n\t^", "suffix": "", "completion": " OSPlatform current isMacOS" }
850
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
isWindows ^ OSPlatform current isWindows
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "isWindows\n\n\t^", "suffix": "", "completion": " OSPlatform current isWindows" }
851
https://github.com/Evref-BL/Pharo-Tree-Sitter
87454e8a5c6e6906d51d3e3868c8a53d23b51cfa
src/TreeSitter-Libraries/TSLibraries.class.st
logInTreanscript: aMessage Transcript show: aMessage; cr.
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSParsingWithErrorTest.class.st", "code": "TestCase subclass: #TSParsingWithErrorTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-Parsing'" }, { "filepath": "repo_clone/...
{ "fim_idx": 0, "mask_type": "cascade", "n_masked_tokens": 3, "prefix": "logInTreanscript: aMessage\n\n\tTranscript\n\t\tshow:", "suffix": ".", "completion": " aMessage;\n\t\tcr" }
852
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibraries.class.st
generateTreeSitterTypescriptLibraries | command status cmdLines| cmdLines := TSLibrariesCommandLines new. "make sure to copy the tree_sitter folder in common" self copyFoldersInTreeSitterTypescript. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterTypescript ] ifFalse: [ self isWindows ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterTypescriptLibraries\n \n\t| command status cmdLines|\n \t\n\tcmdLines", "suffix": ".\n \t\"make sure to copy the tree_sitter folder in common\"\n \tself copyFoldersInTreeSitterTypescript.\n\n \tself isMacOS\n\t\tifTr...
853
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command, '&& mkdir -p build'. command := command, '&& cd build'. command := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'. command := command, '&& ninja'. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitter\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand", "suffix": ".\n\tcommand := command, '&& mkdir -p build'.\n\tcommand := command, '&& cd build'.\n\tcommand := command, '&...
854
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command, '&& mkdir -p build'. command := command, '&& cd build'. command := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'. command := command, '&& ninja'. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cmdMacTreeSitter\n\t| path command |\n\t\n\tpath", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& mkdir -p build'.\n\tcommand := command, '&& cd build'.\n\tcommand := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARC...
855
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command, '&& mkdir -p build'. command := command, '&& cd build'. command := command, '&& cmake -G Ninja .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'. command := command, '&& ninja'. ...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitter\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& mkdir -p build'.\n\tcommand := command, '&& cd build'.\n\tcommand := command, '&...
856
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'.\n\t\n\t^ command", "...
857
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-python'.\n\tcommand", "suffix": ".\n\tcommand := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPI...
858
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-python'.\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\t\n\t^ command", "completion": " := command, '&& gcc -shared -o tr...
859
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescript/sr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath :=", "suffix": ".\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the library generation fails\"\n\tsrcPath := self dependenciesDi...
860
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescript/sr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the library ge...
861
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := self dependenciesDirectory , '/tree-sitter-typescript/typescript/sr...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := self dependenciesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the library ge...
862
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& mkdir -p build'. command := command , '&& cd build'. command := command , '&& cmake -G Ninja ..'. command := command , '&& ninja'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitter\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand := 'cd ' , path.\n\tcommand :=", "suffix": ".\n\tcommand := command , '&& cd build'.\n\tcommand := command , '&& cmake -...
863
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& mkdir -p build'. command := command , '&& cd build'. command := command , '&& cmake -G Ninja ..'. command := command , '&& ninja'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitter\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter/lib'.\n\tcommand :=", "suffix": ".\n\tcommand := command , '&& mkdir -p build'.\n\tcommand := command , '&& cd build'.\n\tcommand := comm...
864
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitter | path command | path := self dependenciesDirectory , '/tree-sitter/lib'. command := 'cd ' , path. command := command , '&& mkdir -p build'. command := command , '&& cd build'. command := command , '&& cmake -G Ninja ..'. command := command , '&& ninja'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cmdWindowsTreeSitter\n\n\t| path command |\n\tpath", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command , '&& mkdir -p build'.\n\tcommand := command , '&& cd build'.\n\tcommand := command , '&& cmake -G Ninja ..'.\n\tcomma...
865
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\tpath", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command\n\t ,\n\t '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'.\n\n\t^ comm...
866
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter-python'.\n\tcommand :=", "suffix": ".\n\tcommand := command\n\t ,\n\t '&& gcc -shared -o tree-sitter-python.dll...
867
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitterPython | path command | path := self dependenciesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\tpath := self dependenciesDirectory , '/tree-sitter-python'.\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\n\t^ command", "completion": " := command\n\t ,\n\t ...
868
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitterTypescript | path command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path command |\n\tpath :=", "suffix": ".\n\n\tcommand := 'cd ' , path.\n\tcommand := command\n\t ,\n\t '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'...
869
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitterTypescript | path command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path command |\n\tpath := self dependenciesDirectory\n\t , '/tree-sitter-typescript/typescript'.\n\n\tcommand", "suffix": ".\n\tcommand := command\n\t ,\n\t '&& gcc -sha...
870
https://github.com/Evref-BL/Pharo-Tree-Sitter
028c42a10eb12828a56fc4e340569216a1ae466e
src/TreeSitter-Libraries/TSLibrariesCommandLines.class.st
cmdWindowsTreeSitterTypescript | path command | path := self dependenciesDirectory , '/tree-sitter-typescript/typescript'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path command |\n\tpath := self dependenciesDirectory\n\t , '/tree-sitter-typescript/typescript'.\n\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\n\t^ command", "completion": " :...
871
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesPython.class.st
cmdMacTreeSitterPython | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 6, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'.\n\t\n\t^ command", "...
872
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesPython.class.st
cmdMacTreeSitterPython | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-python'.\n\tcommand", "suffix": ".\n\tcommand := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanne...
873
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesPython.class.st
cmdMacTreeSitterPython | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command, '&& gcc -shared -o tree-sitter-python.dylib src/parser.c src/scanner.c -fPIC -dynamiclib'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterPython\n\t| path command |\n\t\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-python'.\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\t\n\t^ command", "completion": " := command, '&& gcc -shar...
874
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesPython.class.st
cmdWindowsTreeSitterPython | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\tpath := TSLibraries new", "suffix": ".\n\tcommand := 'cd ' , path.\n\tcommand := command\n\t ,\n\t '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scan...
875
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesPython.class.st
cmdWindowsTreeSitterPython | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-python'.\n\tcommand :=", "suffix": ".\n\tcommand := command\n\t ,\n\t '&& gcc -shared -o tree-sitter-py...
876
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesPython.class.st
cmdWindowsTreeSitterPython | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-python'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-python.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterPython\n\n\t| path command |\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-python'.\n\tcommand := 'cd ' , path.\n\tcommand", "suffix": ".\n\n\t^ command", "completion": " := command\n\t ...
877
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesTypescript.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := TSLibraries new librariesDirectory , '/tree-sitter-typescri...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the li...
878
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesTypescript.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := TSLibraries new librariesDirectory , '/tree-sitter-typescri...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 3, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the li...
879
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesTypescript.class.st
cmdMacTreeSitterTypescript | path srcPath destPath command | path := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'. "this is needed to move the tree-sitter folder to common, otherwise the library generation fails" srcPath := TSLibraries new librariesDirectory , '/tree-sitter-typescri...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 5, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdMacTreeSitterTypescript\n\t| path srcPath destPath command |\n\t\n\tpath := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'.\n\t\n\t\"this is needed to move the tree-sitter folder to common, otherwise the li...
880
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesTypescript.class.st
cmdWindowsTreeSitterTypescript | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path command |\n\tpath := TSLibraries", "suffix": ".\n\n\tcommand := 'cd ' , path.\n\tcommand := command\n\t ,\n\t '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c sr...
881
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesTypescript.class.st
cmdWindowsTreeSitterTypescript | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path command |\n\tpath := TSLibraries new librariesDirectory\n\t , '/tree-sitter-typescript/typescript'.\n\n\tcommand :=", "suffix": ".\n\tcommand := command\n\t ,\n\t '...
882
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesCommandLinesTypescript.class.st
cmdWindowsTreeSitterTypescript | path command | path := TSLibraries new librariesDirectory , '/tree-sitter-typescript/typescript'. command := 'cd ' , path. command := command , '&& gcc -shared -o tree-sitter-typescript.dll src/parser.c src/scanner.c'. ^ command
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cmdWindowsTreeSitterTypescript\n\n\t| path command |\n\tpath := TSLibraries new librariesDirectory\n\t , '/tree-sitter-typescript/typescript'.\n\n\tcommand := 'cd ' , path.\n\tcommand :=", "suffix": ".\n\n\t^ command", "compl...
883
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesPython.class.st
cloneTreeSitterPython | clonePath cloneCommand status | "Construct clone path" clonePath := self librariesDirectory , '/tree-sitter-python'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git ' , clonePath. self logInTranscript: 'Start cl...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 5, "mask_type": "keyword_message", "n_masked_tokens": 4, "prefix": "cloneTreeSitterPython\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self librariesDirectory , '/tree-sitter-python'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.c...
884
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesPython.class.st
cloneTreeSitterPython | clonePath cloneCommand status | "Construct clone path" clonePath := self librariesDirectory , '/tree-sitter-python'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git ' , clonePath. self logInTranscript: 'Start cl...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 4, "mask_type": "keyword_message", "n_masked_tokens": 5, "prefix": "cloneTreeSitterPython\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self librariesDirectory , '/tree-sitter-python'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.c...
885
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesPython.class.st
cloneTreeSitterPython | clonePath cloneCommand status | "Construct clone path" clonePath := self librariesDirectory , '/tree-sitter-python'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git ' , clonePath. self logInTranscript: 'Start cl...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 5, "prefix": "cloneTreeSitterPython\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath", "suffix": ".\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-python.git '\...
886
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesPython.class.st
generateTreeSitterPythonLibraries | command status cmdLines | cmdLines := TSLibrariesCommandLinesPython new. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterPython ] ifFalse: [ self isWindows ifTrue: [ command := cmdLines cmdWindowsTreeSitterPython ] ifFalse: [ command := cmdLines cmdLinux...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 4, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterPythonLibraries\n\n\t| command status cmdLines |\n\tcmdLines := TSLibrariesCommandLinesPython new.\n\tself isMacOS\n\t\tifTrue: [ command := cmdLines cmdMacTreeSitterPython ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t...
887
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesPython.class.st
generateTreeSitterPythonLibraries | command status cmdLines | cmdLines := TSLibrariesCommandLinesPython new. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterPython ] ifFalse: [ self isWindows ifTrue: [ command := cmdLines cmdWindowsTreeSitterPython ] ifFalse: [ command := cmdLines cmdLinux...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 6, "mask_type": "assignment", "n_masked_tokens": 4, "prefix": "generateTreeSitterPythonLibraries\n\n\t| command status cmdLines |\n\tcmdLines := TSLibrariesCommandLinesPython new.\n\tself isMacOS\n\t\tifTrue: [ command := cmdLines cmdMacTreeSitterPython ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t...
888
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesPython.class.st
generateTreeSitterPythonLibraries | command status cmdLines | cmdLines := TSLibrariesCommandLinesPython new. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterPython ] ifFalse: [ self isWindows ifTrue: [ command := cmdLines cmdWindowsTreeSitterPython ] ifFalse: [ command := cmdLines cmdLinux...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterPythonLibraries\n\n\t| command status cmdLines |\n\tcmdLines := TSLibrariesCommandLinesPython new.\n\tself isMacOS\n\t\tifTrue: [ command", "suffix": " ]\n\t\tifFalse: [\n\t\t\tself isWindows\n\t\t\t\tifTrue: [ comma...
889
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesTypescript.class.st
cloneTreeSitterTypescript | clonePath cloneCommand status | "Construct clone path" clonePath := self librariesDirectory , '/tree-sitter-typescript'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-typescript.git ' , clonePath. self logInTranscript:...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 4, "mask_type": "keyword_message", "n_masked_tokens": 7, "prefix": "cloneTreeSitterTypescript\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self librariesDirectory , '/tree-sitter-typescript'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://...
890
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesTypescript.class.st
cloneTreeSitterTypescript | clonePath cloneCommand status | "Construct clone path" clonePath := self librariesDirectory , '/tree-sitter-typescript'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-typescript.git ' , clonePath. self logInTranscript:...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "keyword_message", "n_masked_tokens": 3, "prefix": "cloneTreeSitterTypescript\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self librariesDirectory , '/tree-sitter-typescript'.\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://...
891
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesTypescript.class.st
cloneTreeSitterTypescript | clonePath cloneCommand status | "Construct clone path" clonePath := self librariesDirectory , '/tree-sitter-typescript'. "Execute clone command" cloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-typescript.git ' , clonePath. self logInTranscript:...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "cloneTreeSitterTypescript\n\n\t| clonePath cloneCommand status |\n\t\"Construct clone path\"\n\tclonePath := self", "suffix": ".\n\n\t\"Execute clone command\"\n\tcloneCommand := 'git clone https://github.com/tree-sitter/tree-sitter-t...
892
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesTypescript.class.st
generateTreeSitterTypescriptLibraries | command status cmdLines | cmdLines := TSLibrariesCommandLinesTypescript new. "make sure to copy the tree_sitter folder in common" self copyFoldersInTreeSitterTypescript. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterTypescript ] ifFalse: [ self isWindow...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 1, "mask_type": "keyword_message", "n_masked_tokens": 7, "prefix": "generateTreeSitterTypescriptLibraries\n\n\t| command status cmdLines |\n\tcmdLines := TSLibrariesCommandLinesTypescript new.\n\t\"make sure to copy the tree_sitter folder in common\"\n\tself copyFoldersInTreeSitterTypescript.\n\n\t...
893
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesTypescript.class.st
generateTreeSitterTypescriptLibraries | command status cmdLines | cmdLines := TSLibrariesCommandLinesTypescript new. "make sure to copy the tree_sitter folder in common" self copyFoldersInTreeSitterTypescript. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterTypescript ] ifFalse: [ self isWindow...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterTypescriptLibraries\n\n\t| command status cmdLines |\n\tcmdLines", "suffix": ".\n\t\"make sure to copy the tree_sitter folder in common\"\n\tself copyFoldersInTreeSitterTypescript.\n\n\tself isMacOS\n\t\tifTrue: [ co...
894
https://github.com/Evref-BL/Pharo-Tree-Sitter
be6f68be49b7760ab29b4926eea1d1a584113253
src/TreeSitter-Libraries/TSLibrariesTypescript.class.st
generateTreeSitterTypescriptLibraries | command status cmdLines | cmdLines := TSLibrariesCommandLinesTypescript new. "make sure to copy the tree_sitter folder in common" self copyFoldersInTreeSitterTypescript. self isMacOS ifTrue: [ command := cmdLines cmdMacTreeSitterTypescript ] ifFalse: [ self isWindow...
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 2, "mask_type": "assignment", "n_masked_tokens": 3, "prefix": "generateTreeSitterTypescriptLibraries\n\n\t| command status cmdLines |\n\tcmdLines := TSLibrariesCommandLinesTypescript new.\n\t\"make sure to copy the tree_sitter folder in common\"\n\tself copyFoldersInTreeSitterTypescript.\n\n\tself ...
895
https://github.com/Evref-BL/Pharo-Tree-Sitter
ffabee27660b73226705a9f96d48e46883c57b27
src/TreeSitter-Libraries/TSLibraries.class.st
originalLibrariesDirectory "check if this works for any OS" ^ FileLocator documents fullName , '/tree-sitter-libraries'
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Tests/TSIncrementalParsingTypescriptLongTest.class.st", "code": "TestCase subclass: #TSIncrementalParsingTypescriptLongTest\n\tinstanceVariableNames: 'parser typescriptLanguage'\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Tests-IncrementalPars...
{ "fim_idx": 0, "mask_type": "return", "n_masked_tokens": 3, "prefix": "originalLibrariesDirectory\n\t\"check if this works for any OS\"\n\n\t^ FileLocator documents", "suffix": "", "completion": " fullName , '/tree-sitter-libraries'" }
896
https://github.com/Evref-BL/Pharo-Tree-Sitter
6119aba667cc4054d70ed55519dcc4bc537badd8
src/TreeSitter-Libraries/TSLibraries.class.st
libraryName: aName self isWindows ifTrue: [ ^ aName , '.dll' ] ifFalse: [ self isMacOS ifTrue: [ ^ aName , '.dylib' ] ifFalse: [ ^ aName , '.so' "to be checked" ] ]
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSGroovyLibrary.class.st", "code": "FFILibrary subclass: #TSGroovyLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Groovy'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSG...
{ "fim_idx": 1, "mask_type": "return", "n_masked_tokens": 3, "prefix": "libraryName: aName\n\n\tself isWindows\n\t\tifTrue: [ ^", "suffix": " ]\n\t\tifFalse: [\n\t\t\tself isMacOS\n\t\t\t\tifTrue: [ ^ aName , '.dylib' ]\n\t\t\t\tifFalse: [ ^ aName , '.so' \"to be checked\" ] ]", "completion": " aName , '.dl...
897
https://github.com/Evref-BL/Pharo-Tree-Sitter
6119aba667cc4054d70ed55519dcc4bc537badd8
src/TreeSitter-Libraries/TSLibraries.class.st
libraryName: aName self isWindows ifTrue: [ ^ aName , '.dll' ] ifFalse: [ self isMacOS ifTrue: [ ^ aName , '.dylib' ] ifFalse: [ ^ aName , '.so' "to be checked" ] ]
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSGroovyLibrary.class.st", "code": "FFILibrary subclass: #TSGroovyLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Groovy'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSG...
{ "fim_idx": 3, "mask_type": "return", "n_masked_tokens": 3, "prefix": "libraryName: aName\n\n\tself isWindows\n\t\tifTrue: [ ^ aName , '.dll' ]\n\t\tifFalse: [\n\t\t\tself isMacOS\n\t\t\t\tifTrue: [ ^", "suffix": " ]\n\t\t\t\tifFalse: [ ^ aName , '.so' \"to be checked\" ] ]", "completion": " aName , '.dyli...
898
https://github.com/Evref-BL/Pharo-Tree-Sitter
6119aba667cc4054d70ed55519dcc4bc537badd8
src/TreeSitter-Libraries/TSLibraries.class.st
libraryName: aName self isWindows ifTrue: [ ^ aName , '.dll' ] ifFalse: [ self isMacOS ifTrue: [ ^ aName , '.dylib' ] ifFalse: [ ^ aName , '.so' "to be checked" ] ]
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSGroovyLibrary.class.st", "code": "FFILibrary subclass: #TSGroovyLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Groovy'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSG...
{ "fim_idx": 0, "mask_type": "keyword_message", "n_masked_tokens": 7, "prefix": "libraryName: aName\n\n\tself isWindows\n\t\tifTrue: [ ^ aName , '.dll' ]\n\t\tifFalse: [\n\t\t\tself isMacOS\n\t\t\t\tifTrue: [ ^ aName , '.dylib' ]\n\t\t\t\tifFalse:", "suffix": "", "completion": " [ ^ aName , '.so' \"to be ch...
899
https://github.com/Evref-BL/Pharo-Tree-Sitter
6119aba667cc4054d70ed55519dcc4bc537badd8
src/TreeSitter-Libraries/TSLibraries.class.st
moveLibrary: aLibraryName from: initialLocation | source target | source := (self originalLibrariesDirectory , initialLocation , aLibraryName) asFileReference. target := self vmLibrariesDirectory / aLibraryName . source copyTo: target
[ { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSGroovyLibrary.class.st", "code": "FFILibrary subclass: #TSGroovyLibrary\n\tinstanceVariableNames: ''\n\tclassVariableNames: ''\n\tpackage: 'TreeSitter-Groovy'" }, { "filepath": "repo_clone/Pharo-Tree-Sitter/src/TreeSitter-Groovy/TSG...
{ "fim_idx": 0, "mask_type": "assignment", "n_masked_tokens": 9, "prefix": "moveLibrary: aLibraryName from: initialLocation\n\n\t| source target |\n\tsource :=", "suffix": ".\n\ttarget := self vmLibrariesDirectory / aLibraryName .\n\tsource copyTo: target", "completion": " (self originalLibrariesDirectory ,...