pyVHDLParser.Blocks.Sequential.Procedure¶
Classes
EndBlock
: Base-class for blocks that are final in a fast-forward scanning.BeginBlock
: Base-class for all block classes.DeclarativeRegion
: Base-class for all sequential declarative region blocks.
Classes
- class pyVHDLParser.Blocks.Sequential.Procedure.EndBlock[source]¶
Inheritance
- KEYWORD¶
alias of
ProcedureKeyword
- __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.Sequential.Procedure.BeginBlock[source]¶
Inheritance
- EndToken: Token¶
Reference to the last token in the scope of this block.
- MultiPart: bool¶
True, if this block has multiple parts.
- NextBlock: Block¶
Reference to the next block.
- StartToken: Token¶
Reference to the first token in the scope of this block.
- __STATES__: List = []¶
List of all state… methods in this class.
- __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:
- _previousBlock: Block¶
Reference to the previous block.
- classmethod stateError(parserState)¶
Predefined state to catch error situations.
- Parameters:
parserState (TokenToBlockParser) –
- class pyVHDLParser.Blocks.Sequential.Procedure.DeclarativeRegion[source]¶
Inheritance
- BEGIN_BLOCK¶
alias of
BeginBlock
- class pyVHDLParser.Blocks.Sequential.Procedure.NameBlock[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.Sequential.Procedure.VoidBlock[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) –