Skip to content

Commit

Permalink
feat: apex migration
Browse files Browse the repository at this point in the history
Signed-off-by: abhinavkumar2 <[email protected]>
  • Loading branch information
AbhinavKumar-sf committed Sep 3, 2024
1 parent 710c053 commit 1417654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/apex/parser/apexparser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class ApexASTParser {

private createASTListener(): ApexParserListener {
class ApexMigrationListener implements ApexParserListener {
public constructor(private parser: ApexASTParser) { }
public constructor(private parser: ApexASTParser) {}
public enterClassDeclaration(ctx: ClassDeclarationContext): void {
const interfaceToBeSearched = this.parser.interfaceName;
if (!interfaceToBeSearched) return;
Expand Down
2 changes: 1 addition & 1 deletion test/utils/apex/parser/apexparser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('ApexASTParser', () => {

const apexParser = new ApexASTParser(apexFileContent, interfaceName, methodName);
apexParser.parse();
const implementsInterface = apexParser.implemementsInterface;
const implementsInterface = apexParser.implementsInterfaces;
// const callsMethods = apexParser.getCallsMethods();
// const className = apexParser.getClassName();

Expand Down

0 comments on commit 1417654

Please sign in to comment.