pyVHDLParser.Blocks.ControlStructure.Next¶
Classes
NextConditionBlock
: Base-class for all block classes.
Classes
- class pyVHDLParser.Blocks.ControlStructure.Next.EndBlock[source]¶
Inheritance
- __init__(previousBlock, startToken, endToken=None, multiPart=False)¶
Base-class constructor for a new block instance.
- __iter__()¶
Returns a token iterator that iterates from
StartToken
toEndToken
.- Return type:
- __len__()¶
Returns the length of a block in characters from
StartToken
toEndToken
.- Return type:
- classmethod stateError(parserState)¶
Predefined state to catch error situations.
- Parameters:
parserState (TokenToBlockParser) –
- class pyVHDLParser.Blocks.ControlStructure.Next.NextConditionBlock[source]¶
Inheritance
- __init__(previousBlock, startToken, endToken=None, multiPart=False)¶
Base-class constructor for a new block instance.
- __iter__()¶
Returns a token iterator that iterates from
StartToken
toEndToken
.- Return type:
- __len__()¶
Returns the length of a block in characters from
StartToken
toEndToken
.- Return type:
- classmethod stateError(parserState)¶
Predefined state to catch error situations.
- Parameters:
parserState (TokenToBlockParser) –
- class pyVHDLParser.Blocks.ControlStructure.Next.NextBlock[source]¶
Inheritance
- __init__(previousBlock, startToken, endToken=None, multiPart=False)¶
Base-class constructor for a new block instance.
- __iter__()¶
Returns a token iterator that iterates from
StartToken
toEndToken
.- Return type:
- __len__()¶
Returns the length of a block in characters from
StartToken
toEndToken
.- Return type:
- classmethod stateError(parserState)¶
Predefined state to catch error situations.
- Parameters:
parserState (TokenToBlockParser) –