pyVHDLParser.Blocks.Type.Type¶
Classes
Classes
- class pyVHDLParser.Blocks.Type.Type.TypeBlock[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) –