Package-level declarations

Types

Link copied to clipboard
open class Between : Builtin
Method signature: _between(String str, String start, String end) returns the part of the string between start and end (both are part of the string) e.g.
Link copied to clipboard
interface Builtin
All built-in functions must implement this interface.
Link copied to clipboard
open class BuiltinHelper
Link copied to clipboard
open class BuiltinRegistry
All MARK built-in functions that shall be supported by the evaluation must be registered here.
Link copied to clipboard
open class ConstValue : Builtin
Link copied to clipboard
This Builtin checks if there is a direct EOG-connection (i.e., without branches) between the two given vertices.
Link copied to clipboard
open class EogConnection : Builtin
this Builtin checks if there is an arbitrary EOG-connection between the two given vertices (responsible for the markvars given as parameters)
Link copied to clipboard
open class GetCode : Builtin
Method signature: _get_code(var instance) This Builtin returns the corresponding source code of a MARK variable.
Link copied to clipboard
open class HasValue : Builtin
This builtin checks if the markvar has a cpg-node.
Link copied to clipboard
This builtin checks if 2 vertices (given via the two markvar parameters) are contained in the same function/method
Link copied to clipboard
Indicates that a MARK expression could not be evaluated.
Link copied to clipboard
open class Is : Builtin
This builtin checks if two mark vars are equal
Link copied to clipboard
open class IsInstance : Builtin
Method signature: _is_instance(var instance, String classname) This Builtin behaves like "var instanceof classname".
Link copied to clipboard
open class Length : Builtin
This builtin gets the length for a variable.
Link copied to clipboard
open class Now : Builtin
Method signature: _now() Relies on Java's now.
Link copied to clipboard
Method signature: _receives_value_from(var target, var source).
Link copied to clipboard
open class Split : Builtin
Method signature: _split(String str, String splitter, int position) This Builtin behaves like str.split(splitter)[position].
Link copied to clipboard
open class SplitDisjoint : Builtin
Method signature: _split_disjoint(String str, String splitter, List set) This Builtin splits the str and checks, if any of the resulting elements is part of the provided set.
Link copied to clipboard
Method signature: _split_match_unordered(String str, String splitter, List set, Boolean strict) This Builtin splits the str and checks, if resulting elements are part of the provided set.
Link copied to clipboard
open class StartsWith : Builtin
Method signature: _starts_with(String str, String start) returns true if str starts with start In case of an error, this Builtin returns an ErrorValue;
Link copied to clipboard
class Subset : Builtin

Method signature: _subset(List subset, List superset)

Link copied to clipboard
open class Year : Builtin
Method signature: _year() Note: Time is represented as numeric value.