Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
IPXactSystemVerilogParser Class Reference

#include <IPXactSystemVerilogParser.h>

Inheritance diagram for IPXactSystemVerilogParser:
SystemVerilogExpressionParser ExpressionParser ModeConditionParser

Public Member Functions

 IPXactSystemVerilogParser (IPXactSystemVerilogParser const &rhs)=delete
 
 IPXactSystemVerilogParser (QSharedPointer< ParameterFinder > finder)
 
virtual ~IPXactSystemVerilogParser ()=default
 The destructor.
 
QString findSymbolValue (QStringView symbol) const override
 
int getBaseForSymbol (QStringView symbol) const final
 
bool isSymbol (QStringView expression) const override
 
IPXactSystemVerilogParseroperator= (IPXactSystemVerilogParser const &rhs)=delete
 
- Public Member Functions inherited from SystemVerilogExpressionParser
 SystemVerilogExpressionParser ()=default
 The constructor.
 
 SystemVerilogExpressionParser (SystemVerilogExpressionParser const &rhs)=delete
 
 ~SystemVerilogExpressionParser () override=default
 The destructor.
 
int baseForExpression (QStringView expression) const override
 
virtual bool isArrayExpression (QStringView expression) const noexcept
 
bool isPlainValue (QStringView expression) const override
 
SystemVerilogExpressionParseroperator= (SystemVerilogExpressionParser const &rhs)=delete
 
QString parseExpression (QStringView expression, bool *validExpression=nullptr) const override
 
- Public Member Functions inherited from ExpressionParser
virtual ~ExpressionParser ()=default
 The destructor.
 

Additional Inherited Members

- Protected Member Functions inherited from SystemVerilogExpressionParser
virtual bool isUnaryOperator (QStringView token) const
 
QString parseConstant (QStringView token) const
 
virtual QString solveUnary (QStringView operation, QString const &term) const
 
- Static Protected Member Functions inherited from SystemVerilogExpressionParser
static unsigned int operatorPrecedence (QStringView oper)
 

Detailed Description

Definition at line 28 of file IPXactSystemVerilogParser.h.

Constructor & Destructor Documentation

◆ IPXactSystemVerilogParser() [1/2]

IPXactSystemVerilogParser::IPXactSystemVerilogParser ( QSharedPointer< ParameterFinder > finder)
explicit

The constructor.

Parameters
[in]finderThe finder for parameters available in the SystemVerilog expressions.

◆ ~IPXactSystemVerilogParser()

virtual IPXactSystemVerilogParser::~IPXactSystemVerilogParser ( )
virtualdefault

The destructor.

◆ IPXactSystemVerilogParser() [2/2]

IPXactSystemVerilogParser::IPXactSystemVerilogParser ( IPXactSystemVerilogParser const & rhs)
delete

Member Function Documentation

◆ findSymbolValue()

QString IPXactSystemVerilogParser::findSymbolValue ( QStringView symbol) const
overridevirtual

Finds the value for given symbol.

Parameters
[in]symbolThe symbol whose value to find.
Returns
The found symbol value.

Reimplemented from SystemVerilogExpressionParser.

Reimplemented in ModeConditionParser.

◆ getBaseForSymbol()

int IPXactSystemVerilogParser::getBaseForSymbol ( QStringView symbol) const
finalvirtual

Finds the base in the symbol.

Parameters
[in]symbolThe symbol whose base to find.
Returns
The base for the symbol.

Reimplemented from SystemVerilogExpressionParser.

◆ isSymbol()

bool IPXactSystemVerilogParser::isSymbol ( QStringView expression) const
overridevirtual

Checks if the given expression is a symbol e.g. reference.

Parameters
[in]expressionThe expression to check.
Returns
True, if the expression is a symbol, otherwise false.

Reimplemented from SystemVerilogExpressionParser.

Reimplemented in ModeConditionParser.

◆ operator=()

IPXactSystemVerilogParser & IPXactSystemVerilogParser::operator= ( IPXactSystemVerilogParser const & rhs)
delete

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