Skip to main content

module lang::php::analysis::includes::MatchIncludes

rascal-0.43.0
org.rascalmpl.php-analysis-0.3.6

Usage​

import lang::php::analysis::includes::MatchIncludes;

Dependencies​

import lang::php::ast::AbstractSyntax;
import lang::php::util::Corpus;
import lang::php::stats::Stats;
import lang::php::util::Utils;
import lang::php::ast::System;
import lang::php::pp::PrettyPrinter;
import lang::php::util::LocUtils;
import lang::php::analysis::includes::IncludeGraph;
import IO;
import List;
import String;
import Set;
import util::Math;

data FNBits​

data FNBits  
= lit(str s)
| fnBit()
;

function clearLookupCache​

void clearLookupCache()

function fnModel​

list[FNBits] fnModel(Expr e)

function escaped​

str escaped(str c)

function fnMatch​

str fnMatch(Expr e)

function showGeneratedRegex​

str showGeneratedRegex(str s)

function matchIncludes​

IncludeGraphEdge matchIncludes(System _, IncludeGraph ig, IncludeGraphEdge e, bool _, list[str] _)

set[loc] matchIncludes(System sys, Expr includeExpr, loc _, set[loc] libs = { })