ANTAREX API

Clava API

LARA API

LARA Common Language API

LibVC

Constructor

LibVC

new LibVC($func, compilerSetup, name)

Parameters

$func: any
compilerSetup: any
name: any

Static Members

ErrorHandle

ErrorHandle

Enum that controls the error handling strategy.


Instance Members

addDefine

addDefine(prefix, value, tag)

Parameters

prefix: any
value: any
tag: any

addDefineLiteral

addDefineLiteral(prefix, value, tag)

Parameters

prefix: any
value: any
tag: any

addOption

addOption(prefix, value, tag)

Parameters

prefix: any
value: any
tag: any

addOptionLiteral

addOptionLiteral(prefix, value, tag)

Parameters

prefix: any
value: any
tag: any

buildOptionListAfter

buildOptionListAfter($joinpoint)

Parameters

$joinpoint: any

buildOptionListBefore

buildOptionListBefore($joinpoint)

Parameters

$joinpoint: any

buildVersionAfter

buildVersionAfter($joinpoint)

Parameters

$joinpoint: any

buildVersionBefore

buildVersionBefore($joinpoint)

Parameters

$joinpoint: any

compileVersionAfter

compileVersionAfter($joinpoint)

Parameters

$joinpoint: any

compileVersionBefore

compileVersionBefore($joinpoint)

Parameters

$joinpoint: any

loadAfter

loadAfter($joinpoint, symbolName)

Parameters

$joinpoint: any
symbolName: any

loadBefore

loadBefore($joinpoint, symbolName)

Parameters

$joinpoint: any
symbolName: any

replaceCall

replaceCall($joinpoint)

Parameters

$joinpoint: any

setErrorStrategy

setErrorStrategy(strat, code)

Parameters

strat: any
code: any

setErrorStrategyExit

setErrorStrategyExit()

setErrorStrategyNone

setErrorStrategyNone()

setErrorStrategyReturn

setErrorStrategyReturn(value)

Parameters

value: any

setErrorStrategyUser

setErrorStrategyUser(code)

Parameters

code: any

setLogErrorsInConsole

setLogErrorsInConsole(log)

Parameters

log: any

setOptions

setOptions(options)

Sets the options of the LibVC object.

Parameters

options: any

LibVCOptions

LibVCOptions

LibVCOptions

Options object ofr LibVC. This can be set independently and then passed to the main LibVC object.


Global Functions

BuilderCheckTemplate

BuilderCheckTemplate(versionName, errorCode)

Parameters

versionName: any
errorCode: any

BuilderTemplate

BuilderTemplate(builderName, versionName, funcName, filePath, compilerName, optListName, checkCode)

Parameters

builderName: any
versionName: any
funcName: any
filePath: any
compilerName: any
optListName: any
checkCode: any

CompileCheckTemplate

CompileCheckTemplate(versionName, errorCode)

Parameters

versionName: any
errorCode: any

CompileTemplate

CompileTemplate(versionName, checkCode)

Parameters

versionName: any
checkCode: any

LoadTemplate(name, typedef, type, versionName)

Parameters

name: any
typedef: any
type: any
versionName: any

OptionListTemplate

OptionListTemplate(name, optionsCode, optionsList)

Parameters

name: any
optionsCode: any
optionsList: any

deepClone

deepClone(obj)

TODO: move this to a LARA library

Parameters

obj: any