Skip to content

Commit

Permalink
Oracle Data Extractor function
Browse files Browse the repository at this point in the history
Signed-off-by: Partik SIngh <[email protected]>
  • Loading branch information
partik03 committed Jul 13, 2023
1 parent 5f8fec0 commit d4e0600
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions generator/generators/oracle/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,13 @@ interface ClassData {
serviceName: string;
}

// interface ClassData {
// className: string;
// functions: FunctionData[];
// serviceName: string;
// }

export function extractSDKData(sdkClassAst, serviceClass) {
let methods: FunctionData[] = [];
const functions = [];
Object.keys(serviceClass).map((key, index) => {
functions.push(serviceClass[key].split(' ')[1]);
});
// console.log(functions);
// console.log(sdkClassAst);

// console.log(Array.from(sdkClassAst.members)[0]);
// Array.from(sdkClassAst.members).map(method=>{
// // console.log(method.name.escapedText);

// })
// console.log(Object.keys(sdkClassAst.members));
// console.log(sdkClassAst.members['99']);

// Object.keys(sdkClassAst.members).map((key,index)=>{
// console.log(key);

// // const member = sdkClassAst.members[key];
// // console.log(member.name.text);

// })

sdkClassAst.members.map(method => {
if (method.name && functions.includes(method.name.text)) {
let name;
Expand Down

0 comments on commit d4e0600

Please sign in to comment.