Skip to main content

module lang::php::analysis::evaluators::MagicConstants

rascal-0.40.17
php-analysis-0.2.4

Usage

import lang::php::analysis::evaluators::MagicConstants;

Source code

http://github.com/cwi-swat/php-analysis/blob/main/src/main/rascal/lang/php/analysis/evaluators/MagicConstants.rsc

Dependencies

import lang::php::ast::AbstractSyntax;
import lang::php::ast::System;
import Set;
import List;
import String;
import Exception;
import IO;

function inlineMagicConstants

Script inlineMagicConstants(Script scr, loc l, loc baseloc)

System inlineMagicConstants(System sys, loc baseloc)

Expr inlineMagicConstants(Expr e, loc baseloc)

Replace magic constants with their actual values.