class ParameterDefinition extends Component

The definition of a parameter of a function or procedure.

Properties

string $name The name of the new column.
string $inOut Parameter's direction (IN, OUT or INOUT).
DataType $type The data type of thew new column.

Methods

static mixed
parse(Parser $parser, TokensList $list, array $options = array())

No description

static string
build(mixed $component, array $options = array())

No description

string
__toString()

Builds the string representation of a component of this type.

from Component
__construct(string $name = null, string $inOut = null, DataType $type = null)

Constructor.

Details

at line 66
static mixed parse(Parser $parser, TokensList $list, array $options = array())

Parameters

Parser $parser the parser that serves as context
TokensList $list the list of tokens that are being parsed
array $options parameters for parsing

Return Value

mixed

at line 156
static string build(mixed $component, array $options = array())

Parameters

mixed $component the component to be built
array $options parameters for building

Return Value

string

in Component at line 73
string __toString()

Builds the string representation of a component of this type.

Return Value

string

See also

at line 52
__construct(string $name = null, string $inOut = null, DataType $type = null)

Constructor.

Parameters

string $name parameter's name
string $inOut parameter's directional type (IN / OUT or None)
DataType $type parameter's type