Public Methods |
|
virtual | ~BlockAction () |
| virtual void | enterBlock (SymbolTable< SymbolBase > &symbols,Assembler &assembler)=0 |
| | The method enterBlock is called right after the new scope is entered. More...
|
| virtual void | leaveBlock (SymbolTable< SymbolBase > &symbols,Assembler &assembler)=0 |
| | The method leaveBlock is called just before the scope is left. More...
|
| virtual long | getContextSize ()=0 |
| | The context size determines how many bytes on the stack are needed for context saving while generating the stack frame (e.g. More...
|
|
virtual long | getLocalCount ()=0 |
| | The number of all 'special' local variables that need reservation of space on the stack.
|
|
virtual void | buildStackFrame (Assembler &assembler,long localcount)=0 |
| | Generates the stack frame.
|
|
virtual void | removeStackFrame (Assembler &assembler)=0 |
| | Revokes the stack frame.
|
| virtual bool | forceStackFrame ()=0 |
| | In same cases a stack frame may be omitted if it isn't needed to save code and stack space. More...
|
| virtual void | entryCode (Assembler &assembler)=0 |
| | entryCode gets executed right after the stack frame of the compound statement is created. More...
|
|
virtual void | exitCode (Assembler &assembler)=0 |
| | exitCode gets executed right before leaving the compound statement.
|