io.joern.console
package io.joern.console
Type members
Classlikes
class DefaultArgumentProvider
Joern and Ocular require different implicits to be present, and when we encounter these implicits as parameters in a query that we invoke via reflection, we need to obtain these implicits from somewhere.
Joern and Ocular require different implicits to be present, and when we encounter these implicits as parameters in a query that we invoke via reflection, we need to obtain these implicits from somewhere.
We achieve this by implementing a DefaultArgumentProvider
for Ocular, and one for Joern.
case class MultiFileCodeExamples(positive: List[List[CodeSnippet]], negative: List[List[CodeSnippet]])
case class Query(name: String, author: String, title: String, description: String, score: Double, traversal: Cpg => Traversal[_ <: StoredNode], traversalAsString: String, tags: List[String], language: String, codeExamples: CodeExamples, multiFileCodeExamples: MultiFileCodeExamples)
- Companion:
- object