Skip to main content

module analysis::grammars::Dependency

rascal-Not specified

Usage​

import analysis::grammars::Dependency;

Dependencies​

import Grammar;
import ParseTree;
import analysis::graphs::Graph;

function symbolDependencies​

Compute the symbol dependency graph. This graph does not report intermediate nodes for regular expressions.

Graph[Symbol] symbolDependencies(Grammar g)

Graph[Symbol] symbolDependencies(GrammarDefinition d)

function delabel​

Symbol delabel(label(_, Symbol t))

default Symbol delabel(Symbol x)