HumHub Documentation (unofficial)

PyStringNode
in package
implements ArgumentInterface

Represents Gherkin PyString argument.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Interfaces

ArgumentInterface
Gherkin arguments interface.

Properties

$line  : int
$strings  : array<string|int, mixed>

Methods

__construct()  : mixed
Initializes PyString.
__toString()  : string
Converts PyString into string.
getLine()  : int
Returns line number at which PyString was started.
getNodeType()  : string
Returns node type.
getRaw()  : string
Returns raw string.
getStrings()  : array<string|int, mixed>
Returns entire PyString lines set.

Properties

$strings

private array<string|int, mixed> $strings = array()

Methods

__construct()

Initializes PyString.

public __construct(array<string|int, mixed> $strings, int $line) : mixed
Parameters
$strings : array<string|int, mixed>

String in form of [$stringLine]

$line : int

Line number where string been started

__toString()

Converts PyString into string.

public __toString() : string
Return values
string

getLine()

Returns line number at which PyString was started.

public getLine() : int
Return values
int

getNodeType()

Returns node type.

public getNodeType() : string
Return values
string

getRaw()

Returns raw string.

public getRaw() : string
Return values
string

getStrings()

Returns entire PyString lines set.

public getStrings() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results