ANTAREX API

Clava API

LARA API

LARA Common Language API

Global Functions

createConst

createConst(node, num)

Parameters

node: any
num: any

createDefaultCounters

createDefaultCounters(node)

Parameters

node: any

createEdge

createEdge(node, source, dest, pos, offset)

Parameters

node: any
source: any
dest: any
pos: any
offset: any

createMux

createMux(node)

Parameters

node: any

createOp

createOp(node, op)

Parameters

node: any
op: any

createSeparator

createSeparator(node)

Parameters

node: any

createTemp

createTemp(node, type)

Parameters

node: any
type: any

declareInterfaceCounter

declareInterfaceCounter(node, name)

Parameters

node: any
name: any

declareLocalCounter

declareLocalCounter(node, name)

Parameters

node: any
name: any

explore

explore(children)

Parameters

children: any

filterCommonKeywords

filterCommonKeywords(value, index, arr)

Parameters

value: any
index: any
arr: any

getCounterOfVar

getCounterOfVar(name, info)

Parameters

name: any
info: any

getInfo

getInfo(node)

Parameters

node: any

handleArrayAccess

handleArrayAccess(node)

Parameters

node: any

handleAssign

handleAssign(node)

Parameters

node: any

handleBinaryOp

handleBinaryOp(node)

Parameters

node: any

handleExpression

handleExpression(node)

Parameters

node: any

handleStatement

handleStatement(node)

Parameters

node: any

handleUnaryOp

handleUnaryOp(node)

Parameters

node: any

handleVardecl

handleVardecl(node)

Parameters

node: any

handleVarref

handleVarref(node)

Parameters

node: any

incrementCounter

incrementCounter(node, variable, indexes)

Parameters

node: any
variable: any
indexes: any

initializeInterface

initializeInterface(node, variable)

Parameters

node: any
variable: any

isInterface

isInterface(varName)

Parameters

varName: any

isLocal

isLocal(varName)

Parameters

varName: any

mapOperation

mapOperation(op)

Parameters

op: any

refAnyExpr

refAnyExpr(code)

Parameters

code: any

refArrayCounter

refArrayCounter(name, indexes)

Parameters

name: any
indexes: any

refCounter

refCounter(name)

Parameters

name: any

registerInterface(param)

Parameters

param: any

registerLocal

registerLocal(local)

Parameters

local: any

splitMulti

splitMulti(str, tokens)

Parameters

str: any
tokens: any

storeArray

storeArray(node, variable, indexes)

Parameters

node: any
variable: any
indexes: any

storeVar

storeVar(node, variable)

Parameters

node: any
variable: any