io.joern.console

Members list

Type members

Classlikes

case class CodeExamples(positive: List[String], negative: List[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CodeSnippet(content: String, filename: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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.

Attributes

Supertypes
class Object
trait Matchable
class Any
case class MultiFileCodeExamples(positive: List[List[CodeSnippet]], negative: List[List[CodeSnippet]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Query(name: String, author: String, title: String, description: String, score: Double, traversal: Cpg => Iterator[_ <: StoredNode], traversalAsString: String, tags: List[String], language: String, codeExamples: CodeExamples, multiFileCodeExamples: MultiFileCodeExamples)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Query

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Query.type
trait QueryBundle

Attributes

Supertypes
class Object
trait Matchable
class Any
class QueryDatabase(defaultArgumentProvider: DefaultArgumentProvider, namespace: String)

Attributes

Supertypes
class Object
trait Matchable
class Any
case class TraversalWithStrRep(traversal: Cpg => Iterator[_ <: StoredNode], strRep: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all