Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
CompoundObjectDescriptor (const QString &name, const QString &signature, int precedence, Associativity associativity) | |
virtual OOModel::Expression * | create (const QList< OOModel::Expression * > &operands) |
Public Member Functions inherited from OOInteraction::OOOperatorDescriptor | |
OOOperatorDescriptor (const QString &name, const QString &signature, int precedence, Associativity associativity) | |
OOOperatorDescriptor (const QString &name, const QString &signature, int precedence, Associativity associativity, CreateFunction createFunction) | |
Public Member Functions inherited from Interaction::OperatorDescriptor | |
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 void | cleanAllStoredExpressions () |
static const QString & | compoundSignature () |
static bool | processDeleteOrBackspaceKey (Qt::Key key, QString &expression, int &index) |
static const QString | storeExpression (OOModel::Expression *object) |
Static Public Member Functions inherited from OOInteraction::OOOperatorDescriptor | |
template<OOModel::AssignmentExpression::AssignmentTypes op> | |
static OOModel::Expression * | assignment (const QList< OOModel::Expression * > &operands) |
template<OOModel::BinaryOperation::OperatorTypes op> | |
static OOModel::Expression * | binary (const QList< OOModel::Expression * > &operands) |
template<OOModel::UnaryOperation::OperatorTypes op> | |
static OOModel::Expression * | unary (const QList< OOModel::Expression * > &operands) |
Static Public Member Functions inherited from Interaction::OperatorDescriptor | |
static bool | isDelimiter (const QString &str) |
Static Private Member Functions | |
static bool | isInQuotes (int index, const QString &string, const QChar "e='\"') |
static int | nextId () |
static QMap< int, OOModel::Expression * > & | storedExpressions () |
Static Private Attributes | |
static constexpr int | NUM_SIGNATURE_SYMBOLS = 8 |
Friends | |
class | CompoundObjectPlaceholder |
Additional Inherited Members | |
Public Types inherited from OOInteraction::OOOperatorDescriptor | |
using | CreateFunction = std::function< OOModel::Expression *(const QList< OOModel::Expression * > &operands)> |
Public Types inherited from Interaction::OperatorDescriptor | |
enum | Associativity { LeftAssociative , RightAssociative , NotAssociative } |
OOInteraction::CompoundObjectDescriptor::CompoundObjectDescriptor | ( | const QString & | name, |
const QString & | signature, | ||
int | precedence, | ||
Associativity | associativity | ||
) |
|
static |
|
static |
|
virtual |
Reimplemented from OOInteraction::OOOperatorDescriptor.
|
staticprivate |
|
staticprivate |
|
static |
|
staticprivate |
|
static |
|
friend |
|
staticconstexprprivate |