small changes
This commit is contained in:
parent
589e857cc2
commit
e47c8dca44
@ -111,6 +111,10 @@ func (t *TypescriptApiParser) parseFile(sourceFilePath string) ([]api.Endpoint,
|
|||||||
}
|
}
|
||||||
|
|
||||||
method := member.AsMethodDeclaration()
|
method := member.AsMethodDeclaration()
|
||||||
|
if method.ModifierFlags()&ast.ModifierFlagsPrivate > 0 || method.ModifierFlags()&ast.ModifierFlagsProtected > 0 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
var apiMethod api.Method
|
var apiMethod api.Method
|
||||||
apiMethod.Name = method.Name().Text()
|
apiMethod.Name = method.Name().Text()
|
||||||
for _, parNode := range method.ParameterList().Nodes {
|
for _, parNode := range method.ParameterList().Nodes {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user