LibreOffice Module basic (master) 1
|
#include <expr.hxx>
Public Member Functions | |
SbiExprList () | |
~SbiExprList () | |
bool | IsBracket () const |
bool | IsValid () const |
short | GetSize () const |
short | GetDims () const |
SbiExpression * | Get (size_t) |
void | Gen (SbiCodeGen &rGen) |
void | addExpression (std::unique_ptr< SbiExpression > &&pExpr) |
Static Public Member Functions | |
static SbiExprListPtr | ParseParameters (SbiParser *, bool bStandaloneExpression=false, bool bPar=true) |
static SbiExprListPtr | ParseDimList (SbiParser *) |
Private Attributes | |
std::vector< std::unique_ptr< SbiExpression > > | aData |
short | nDim |
bool | bError |
bool | bBracket |
SbiExprList::SbiExprList | ( | ) |
Definition at line 890 of file exprtree.cxx.
SbiExprList::~SbiExprList | ( | ) |
Definition at line 897 of file exprtree.cxx.
void SbiExprList::addExpression | ( | std::unique_ptr< SbiExpression > && | pExpr | ) |
void SbiExprList::Gen | ( | SbiCodeGen & | rGen | ) |
Definition at line 211 of file exprgen.cxx.
References aData, SbiStringPool::Add(), SbiParser::aGblStrings, ARGC_, ARGN_, ARGV_, SbiCodeGen::Gen(), and SbiCodeGen::GetParser().
Referenced by SbiExprNode::GenElement().
SbiExpression * SbiExprList::Get | ( | size_t | n | ) |
Definition at line 899 of file exprtree.cxx.
|
inline |
|
inline |
Definition at line 100 of file expr.hxx.
References aData.
Referenced by AddSym(), SbiExprNode::GenElement(), and SbiParser::Symbol().
|
inline |
|
inline |
|
static |
Definition at line 1075 of file exprtree.cxx.
References COMMA, ERRCODE_BASIC_BAD_BRACKETS, ERRCODE_BASIC_EXPECTED, SbiTokenizer::Error(), LPAREN, SbiTokenizer::Next(), SbiTokenizer::Peek(), RPAREN, and TO.
Referenced by SbiParser::VarDecl().
|
static |
Definition at line 917 of file exprtree.cxx.
References aName, ASSIGN, BYVAL, COMMA, ERRCODE_BASIC_BAD_BRACKETS, ERRCODE_BASIC_EXPECTED, SbiTokenizer::Error(), EXPRMODE_ARRAY_OR_OBJECT, EXPRMODE_EMPTY_PAREN, EXPRMODE_LPAREN_NOT_NEEDED, EXPRMODE_LPAREN_PENDING, comphelper::IsContextFlagActive(), SbiTokenizer::IsEoln(), LPAREN, SbiTokenizer::Next(), NIL, SbiTokenizer::Peek(), RPAREN, SbSTDEXPR, and SbxEMPTY.
Referenced by SbiExpression::ObjTerm(), and SbiExpression::Term().
|
private |
|
private |
Definition at line 92 of file expr.hxx.
Referenced by IsBracket(), and SbiExprList().
|
private |
Definition at line 91 of file expr.hxx.
Referenced by IsValid(), and SbiExprList().
|
private |
Definition at line 90 of file expr.hxx.
Referenced by GetDims(), and SbiExprList().