Methods
addBeforeCode(node)
Receives a node with associated code, for it to be verified and add an
additional line straightaway once entered into the function
Parameters:
Name | Type | Description |
---|---|---|
node |
addLogging(code, patternName) → {String}
Changes the initial code into other code with extra lines
Parameters:
Name | Type | Description |
---|---|---|
code |
String | Code from which more code will be generated |
patternName |
String | Specified pattern name to be compared with the function in case it has an id |
Returns:
generated code with modifications
- Type
- String