ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("lara.util.Replacer");

(.lara)
import lara.util.Replacer;

Replacer

Constructor

Replacer

new Replacer(contentsOrFile)

Replaces strings inside a larger string.

Parameters

contentsOrFile: any

Static Members

fromFilename

fromFilename(filename)

Parameters

filename: any

Instance Members

getString

getString()

replaceAll

replaceAll(target, replacement)

Parameters

target: any
replacement: any