module lang::php::analysis::signatures::Extract
rascal-0.40.17
php-analysis-0.2.4
Usage
import lang::php::analysis::signatures::Extract;
Source code
Dependencies
import IO;
import Node;
import Set;
import String;
import List;
import Map;
import lang::html::IO;
import lang::php::analysis::NamePaths;
import lang::php::analysis::signatures::Summaries;
data PageType
data PageType
= functionPage(str libraryName, str functionName)
| constantPage(str libraryName)
| classPage(str libraryName, str className)
| methodPage(str libraryName, str className, str methodName)
;
function getLibraryPages
map[PageType,loc] getLibraryPages()
function getDBLibraryPages
map[PageType,loc] getDBLibraryPages()
function getAllLibraryPages
map[PageType,loc] getAllLibraryPages()
function getHTMLFile
node getHTMLFile(loc fileLoc)
function getLibraryPages
map[PageType,loc] getLibraryPages(loc startingLoc)
function extractFunctionSummary
set[Summary] extractFunctionSummary(str bookname, str functionName, loc functionLoc)
function extractConstantSummary
set[Summary] extractConstantSummary(str bookname, loc constantLoc)
function extractClassSummary
set[Summary] extractClassSummary(str bookname, str className, loc classLoc)
function extractMethodSummary
set[Summary] extractMethodSummary(str bookname, str className, str methodName, loc methodLoc)
function extractFunctionSummaries
set[Summary] extractFunctionSummaries(map[PageType,loc] pagePaths)
function extractConstantSummaries
set[Summary] extractConstantSummaries(map[PageType,loc] pagePaths)
function extractClassSummaries
set[Summary] extractClassSummaries(map[PageType,loc] pagePaths)
function extractMethodSummaries
set[Summary] extractMethodSummaries(map[PageType,loc] pagePaths)
function extractSummaries
void extractSummaries(map[PageType,loc] pagePaths)
function flattenNodes
str flattenNodes(node topNode)