pyVHDLParser.Blocks.InterfaceObject

Classes


Classes

class pyVHDLParser.Blocks.InterfaceObject.InterfaceObjectBlock[source]

Inheritance

Inheritance diagram of InterfaceObjectBlock

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.InterfaceObject.InterfaceConstantBlock[source]

Inheritance

Inheritance diagram of InterfaceConstantBlock

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.InterfaceObject.InterfaceVariableBlock[source]

Inheritance

Inheritance diagram of InterfaceVariableBlock

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.InterfaceObject.InterfaceSignalBlock[source]

Inheritance

Inheritance diagram of InterfaceSignalBlock

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.InterfaceObject.InterfaceTypeBlock[source]

Inheritance

Inheritance diagram of InterfaceTypeBlock

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) –