pyVHDLParser.Blocks.Sequential.Procedure

Classes


Classes

class pyVHDLParser.Blocks.Sequential.Procedure.EndBlock[source]

Inheritance

Inheritance diagram of EndBlock

KEYWORD

alias of ProcedureKeyword

EndToken: Token

Reference to the last token in the scope of this block.

property Length: int

Returns the length of a block in characters from StartToken to EndToken.

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.

property States: List[Callable]

Returns a list of all state… methods in this class.

__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.

Parameters:
__iter__()

Returns a token iterator that iterates from StartToken to EndToken.

Return type:

TokenIterator

__len__()

Returns the length of a block in characters from StartToken to EndToken.

Return type:

int

__repr__()

Return repr(self).

Return type:

str

__str__()

Return str(self).

Return type:

str

_previousBlock: Block

Reference to the previous block.

classmethod stateError(parserState)

Predefined state to catch error situations.

Parameters:

parserState (TokenToBlockParser) –

class pyVHDLParser.Blocks.Sequential.Procedure.BeginBlock[source]

Inheritance

Inheritance diagram of BeginBlock

END_BLOCK

alias of EndBlock

EndToken: Token

Reference to the last token in the scope of this block.

property Length: int

Returns the length of a block in characters from StartToken to EndToken.

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.

property States: List[Callable]

Returns a list of all state… methods in this class.

__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.

Parameters:
__iter__()

Returns a token iterator that iterates from StartToken to EndToken.

Return type:

TokenIterator

__len__()

Returns the length of a block in characters from StartToken to EndToken.

Return type:

int

__repr__()

Return repr(self).

Return type:

str

__str__()

Return str(self).

Return type:

str

_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

Inheritance diagram of DeclarativeRegion

BEGIN_BLOCK

alias of BeginBlock

END_BLOCK

alias of EndBlock

class pyVHDLParser.Blocks.Sequential.Procedure.NameBlock[source]

Inheritance

Inheritance diagram of NameBlock

EndToken: Token

Reference to the last token in the scope of this block.

property Length: int

Returns the length of a block in characters from StartToken to EndToken.

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.

property States: List[Callable]

Returns a list of all state… methods in this class.

__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.

Parameters:
__iter__()

Returns a token iterator that iterates from StartToken to EndToken.

Return type:

TokenIterator

__len__()

Returns the length of a block in characters from StartToken to EndToken.

Return type:

int

__repr__()

Return repr(self).

Return type:

str

__str__()

Return str(self).

Return type:

str

_previousBlock: Block

Reference to the previous block.

classmethod stateError(parserState)

Predefined state to catch error situations.

Parameters:

parserState (TokenToBlockParser) –

class pyVHDLParser.Blocks.Sequential.Procedure.VoidBlock[source]

Inheritance

Inheritance diagram of VoidBlock

EndToken: Token

Reference to the last token in the scope of this block.

property Length: int

Returns the length of a block in characters from StartToken to EndToken.

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.

property States: List[Callable]

Returns a list of all state… methods in this class.

__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.

Parameters:
__iter__()

Returns a token iterator that iterates from StartToken to EndToken.

Return type:

TokenIterator

__len__()

Returns the length of a block in characters from StartToken to EndToken.

Return type:

int

__repr__()

Return repr(self).

Return type:

str

__str__()

Return str(self).

Return type:

str

_previousBlock: Block

Reference to the previous block.

classmethod stateError(parserState)

Predefined state to catch error situations.

Parameters:

parserState (TokenToBlockParser) –