TaggedNodeInterface
extends
NodeInterface
in
Gherkin tagged node interface.
Tags
Table of Contents
Methods
- getLine() : int
- Returns feature declaration line number.
- getNodeType() : string
- Returns node type string
- getTags() : array<string|int, string>
- Returns node tags (including inherited from feature).
- hasTag() : bool
- Checks if node is tagged with tag.
- hasTags() : bool
- Checks if node has tags (both inherited from feature and own).
Methods
getLine()
Returns feature declaration line number.
public
getLine() : int
Return values
intgetNodeType()
Returns node type string
public
getNodeType() : string
Return values
stringgetTags()
Returns node tags (including inherited from feature).
public
getTags() : array<string|int, string>
Return values
array<string|int, string>hasTag()
Checks if node is tagged with tag.
public
hasTag(string $tag) : bool
Parameters
- $tag : string
Return values
boolhasTags()
Checks if node has tags (both inherited from feature and own).
public
hasTags() : bool