Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum | Associativity { LeftAssociative , RightAssociative , NotAssociative } |
Public Member Functions | |
OperatorDescriptor () | |
OperatorDescriptor (const QString &name, const QString &signature, int precedence, Associativity associativity) | |
OperatorDescriptor (const QString &prefixText, const QString &postfixText) | |
virtual | ~OperatorDescriptor () |
Associativity | associativity () |
QStringList | delimiters () |
const QList< ExpectedToken > & | expectedTokens () const |
const QStringList & | infix (int at) const |
const QList< QStringList > & | infixes () const |
bool | isDelimiter (int signatureIndex) |
bool | isTransient () |
const QString & | name () |
int | numOperands () |
const QStringList & | postfix () const |
int | precedence () |
const QStringList & | prefix () const |
void | setTransient (bool transient) |
const QStringList & | signature () |
Static Public Member Functions | |
static bool | isDelimiter (const QString &str) |
Private Attributes | |
Associativity | associativity_ {} |
QList< ExpectedToken > | expectedTokens_ |
QList< QStringList > | infixesTokens_ |
bool | isError_ {} |
QString | name_ |
int | num_operands_ {} |
QStringList | postfixTokens_ |
int | precedence_ {} |
QStringList | prefixTokens_ |
QStringList | signature_ |
bool | transient_ {} |
Interaction::OperatorDescriptor::OperatorDescriptor | ( | ) |
Interaction::OperatorDescriptor::OperatorDescriptor | ( | const QString & | name, |
const QString & | signature, | ||
int | precedence, | ||
Associativity | associativity | ||
) |
Interaction::OperatorDescriptor::OperatorDescriptor | ( | const QString & | prefixText, |
const QString & | postfixText | ||
) |
|
virtual |
|
inline |
QStringList Interaction::OperatorDescriptor::delimiters | ( | ) |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
bool Interaction::OperatorDescriptor::isDelimiter | ( | int | signatureIndex | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |