Open Cheap-Cheer opened 8 months ago
How can I download standard libraries locally? Preferably stored as some sort of structured data, please!
You can get a local copy of the standard libraries by cloning the https://github.com/github/codeql repository.
This online documentation of the standard libraries is generated from the repository that I mention above.
How can I download standard libraries locally? Preferably stored as some sort of structured data, please!
You can get a local copy of the standard libraries by cloning the https://github.com/github/codeql repository.
This online documentation of the standard libraries is generated from the repository that I mention above.
Thank you! But the codeql/docs/ql-libraries/ directory only has one folder dataflow and one file in it, where do I need to find the rest?
Thank you! But the codeql/docs/ql-libraries/ directory only has one folder dataflow and one file in it, where do I need to find the rest?
The codeql repository contains all the standard libraries. What you are looking for seems to be the documentation for the standard libraries rather than the libraries themselves. That documentation is automatically generated from the .ql
and .qll
source files in the codeql repository that I linked to.
For example, this documentation file that you linked to to is automatically generated from the declaration of the AccessAnnotation class in the codeql repository:
/**
* A `@javax.persistence.Access` annotation.
*/
class AccessAnnotation extends Annotation {
AccessAnnotation() { this.getType().hasQualifiedName("javax.persistence", "Access") }
}
Thank you!
How can I download standard libraries locally? Preferably stored as some sort of structured data, please!