Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype.SyntaxTree.Context Class Reference

Data Structures

class  Block

Public Member Functions

 __init__ (self)
 push_block (self)
 pop_block (self)
 get_block (self)
 clear_block (self)

Protected Attributes

list _blocks = [ Context.Block() ]

Detailed Description

Definition at line 8 of file SyntaxTree.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype.SyntaxTree.Context.__init__ ( self)

Definition at line 10 of file SyntaxTree.py.

Member Function Documentation

◆ clear_block()

exahype2.api.dslhype.SyntaxTree.Context.clear_block ( self)

Definition at line 28 of file SyntaxTree.py.

References _blocks.

◆ get_block()

exahype2.api.dslhype.SyntaxTree.Context.get_block ( self)

Definition at line 23 of file SyntaxTree.py.

References _blocks, and push_block().

Here is the call graph for this function:

◆ pop_block()

exahype2.api.dslhype.SyntaxTree.Context.pop_block ( self)

Definition at line 17 of file SyntaxTree.py.

References _blocks.

◆ push_block()

exahype2.api.dslhype.SyntaxTree.Context.push_block ( self)

Definition at line 14 of file SyntaxTree.py.

References _blocks.

Referenced by get_block().

Here is the caller graph for this function:

Field Documentation

◆ _blocks

list exahype2.api.dslhype.SyntaxTree.Context._blocks = [ Context.Block() ]
protected

Definition at line 12 of file SyntaxTree.py.

Referenced by clear_block(), get_block(), pop_block(), and push_block().


The documentation for this class was generated from the following file: