SPeCS Packages Documentation
Preparing search index...
@specs-feup/extended-task-graph
util/ClavaUtils
ClavaUtils
Class ClavaUtils
Index
Constructors
constructor
Methods
function
Has
Implementation
generate
Code
get
All
Unique
Functions
get
Current
File
Ext
get
Datatype
Size
get
Eligible
Functions
From
match
Template
rebuild
And
Compress
run
Clang
Format
On
Folder
verify
Syntax
Constructors
constructor
new
ClavaUtils
()
:
ClavaUtils
Returns
ClavaUtils
Methods
Static
function
Has
Implementation
functionHasImplementation
(
fun
:
FunctionJp
)
:
boolean
Parameters
fun
:
FunctionJp
Returns
boolean
Static
generate
Code
generateCode
(
weaveDir
:
string
,
folder
:
string
)
:
string
Parameters
weaveDir
:
string
folder
:
string
Returns
string
Static
get
All
Unique
Functions
getAllUniqueFunctions
(
topFunction
:
FunctionJp
,
includeExternals
?:
boolean
,
)
:
FunctionJp
[]
Parameters
topFunction
:
FunctionJp
includeExternals
:
boolean
= false
Returns
FunctionJp
[]
Static
get
Current
File
Ext
getCurrentFileExt
()
:
string
Returns
string
Static
get
Datatype
Size
getDatatypeSize
(
datatype
:
string
)
:
number
Parameters
datatype
:
string
Returns
number
Static
get
Eligible
Functions
From
getEligibleFunctionsFrom
(
parent
:
Joinpoint
,
includeExternals
?:
boolean
,
)
:
FunctionJp
[]
Parameters
parent
:
Joinpoint
includeExternals
:
boolean
= false
Returns
FunctionJp
[]
Static
match
Template
matchTemplate
(
jp
:
Joinpoint
,
template
:
any
[]
)
:
boolean
Parameters
jp
:
Joinpoint
template
:
any
[]
Returns
boolean
Static
rebuild
And
Compress
rebuildAndCompress
(
threshold
?:
number
)
:
boolean
Parameters
threshold
:
number
= 50
Returns
boolean
Static
run
Clang
Format
On
Folder
runClangFormatOnFolder
(
path
:
string
)
:
void
Parameters
path
:
string
Returns
void
Static
verify
Syntax
verifySyntax
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
function
Has
Implementation
generate
Code
get
All
Unique
Functions
get
Current
File
Ext
get
Datatype
Size
get
Eligible
Functions
From
match
Template
rebuild
And
Compress
run
Clang
Format
On
Folder
verify
Syntax
SPeCS Packages Documentation
Loading...