Class FunctionBlock
A Block for Lua functions.
Info:
- License: MIT
- Author: Richard Voelker
Methods
FunctionBlock.new (self, name, parameters) | Create the function Block. |
FunctionBlock.AddLineIfNotAdded (self, lineString) | Add a line to this Block as a child if it has not already been added by this function. |
Methods
- FunctionBlock.new (self, name, parameters)
-
Create the function Block.
Parameters:
- self FunctionBlock
- name string The name of the function.
- parameters
string
The comma-separated parameter
names.
- FunctionBlock.AddLineIfNotAdded (self, lineString)
-
Add a line to this Block as a child if it has not already
been added by this function.
Parameters:
- self FunctionBlock
- lineString string The text that should be contained in the Line.