![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviKvsParser.h>
Public Types | |
enum | Flags { AssumeLocals = 1 , Pedantic = 2 } |
Public Member Functions | |
bool | error () const |
KviKvsParser (KviKvsScript *pScript, KviWindow *pOutputWindow) | |
KviKvsTreeNodeInstruction * | parse (const QChar *pBuffer, int iFlags=0) |
KviKvsTreeNodeInstruction * | parseAsExpression (const QChar *pBuffer, int iFlags=0) |
KviKvsTreeNodeInstruction * | parseAsParameter (const QChar *pBuffer, int iFlags=0) |
~KviKvsParser () | |
Static Protected Member Functions | |
static void | init () |
Private Attributes | |
bool | m_bError = false |
int | m_iFlags = 0 |
const QChar * | m_pBuffer = nullptr |
KviPointerHashTable< QString, QString > * | m_pGlobals |
KviKvsScript * | m_pScript |
const QChar * | m_ptr = nullptr |
KviWindow * | m_pWindow |
Friends | |
class | KviKvsKernel |
enum KviKvsParser::Flags |
KviKvsParser::KviKvsParser | ( | KviKvsScript * | pScript, |
KviWindow * | pOutputWindow ) |
References m_pGlobals, m_pScript, and m_pWindow.
Referenced by KviKvsKernel, and parseSpecialCommandBreak().
KviKvsParser::~KviKvsParser | ( | ) |
References m_pGlobals.
|
inline |
References m_bError.
Referenced by errorBadChar(), parse(), parseAsExpression(), parseAsParameter(), parseBindingOperation(), parseCommand(), parseCommandSwitchList(), parseCommaSeparatedParameterList(), parseCommaSeparatedParameterListNoTree(), parseComment(), parseDollar(), parseExpressionBinaryOperator(), parseExpressionOperand(), parseExpressionOperandCore(), parseInstruction(), parseInstructionBlock(), parseInstructionList(), parseOperation(), parsePercent(), parseSpecialCommandClass(), parseSpecialCommandDefpopupLabelPopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandGlobal(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), parseSpecialCommandUnset(), parseSpecialCommandWhile(), parseStringParameter(), parseVoidFunctionCallOrOperation(), skipSpacesAndNewlines(), skipToEndOfCStyleComment(), and skipToEndOfForControlBlock().
|
private |
References kvi_va_end, kvi_va_list, kvi_va_start, m_bError, and report().
|
private |
References __tr2qs_ctx, and error().
Referenced by parseSpecialCommandClass(), parseSpecialCommandDefpopup(), parseSpecialCommandDefpopupLabelPopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), and skipToEndOfCStyleComment().
|
staticprotected |
References _REG_CNTRL_CMD, KviKvsKernel::instance(), KviKvsKernel, parseSpecialCommandBreak(), parseSpecialCommandClass(), parseSpecialCommandContinue(), parseSpecialCommandDefpopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandGlobal(), parseSpecialCommandHelp(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), parseSpecialCommandUnset(), and parseSpecialCommandWhile().
Referenced by KviKvsKernel::KviKvsKernel().
KviKvsTreeNodeInstruction * KviKvsParser::parse | ( | const QChar * | pBuffer, |
int | iFlags = 0 ) |
References __tr2qs_ctx, error(), m_bError, m_iFlags, m_pBuffer, m_pGlobals, m_ptr, and parseInstructionList().
KviKvsTreeNodeInstruction * KviKvsParser::parseAsExpression | ( | const QChar * | pBuffer, |
int | iFlags = 0 ) |
References __tr2qs_ctx, error(), m_bError, m_iFlags, m_pBuffer, m_pGlobals, m_ptr, and parseExpression().
KviKvsTreeNodeInstruction * KviKvsParser::parseAsParameter | ( | const QChar * | pBuffer, |
int | iFlags = 0 ) |
References __tr2qs_ctx, error(), l, m_bError, m_iFlags, m_pBuffer, m_pGlobals, m_ptr, and parseCommandParameterList().
|
private |
|
private |
References __tr2qs_ctx, error(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharIsLetter, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseBindingOperationParameter(), parseCommandParameter(), pBegin, and skipSpaces().
Referenced by parseAt(), and parseOperation().
|
private |
|
private |
References KVSP_curCharPointer, KVSP_curCharUnicode, l, p, parseBindingOperationLiteralParameter(), parseParameterPercentOrDollar(), parseStringParameter(), and pBegin.
Referenced by parseBindingOperation(), and parseBindingOperationLiteralParameter().
|
private |
References __tr2qs_ctx, KviCommandFormatter::bufferFromBlock(), KviQString::equalCI(), error(), KviKvsKernel::findCoreCallbackCommandExecRoutine(), KviKvsKernel::findCoreSimpleCommandExecRoutine(), KviKvsKernel::findSpecialCommandParsingRoutine(), KviKvsTreeNodeSwitchList::getStandardRebindingSwitch(), KviKvsKernel::instance(), KVSP_ASSERT, KVSP_curCharIsLetter, KVSP_curCharIsLetterOrNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, KviKvsTreeNode::location(), parseCommandParameterList(), parseCommandSwitchList(), parseCommaSeparatedParameterList(), parseInstruction(), parseSpecialCommandPerlBegin(), parseSpecialCommandPythonBegin(), KviKvsSpecialCommandParsingRoutine::proc, r, KviKvsTreeNode::setLocation(), KviKvsTreeNodeCommand::setSwitchList(), skipSpaces(), skipSpacesAndNewlines(), and warning().
Referenced by parseInstruction(), and parseSpecialCommandPythonBegin().
|
private |
Referenced by parseCommandParameter().
|
private |
References KVSP_curCharPointer, KVSP_curCharUnicode, l, p, parseCommandLiteralParameter(), parseParameterPercentOrDollar(), parseStringParameter(), and pBegin.
Referenced by parseBindingOperation(), parseCommandParameterList(), parseCommandSwitchList(), parseOperationRightSide(), and skipToEndOfCStyleComment().
|
private |
References KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, p, parseCommandParameter(), and skipSpaces().
Referenced by parseAsParameter(), parseCommand(), and skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, KviKvsTreeNodeSwitchList::addLong(), KviKvsTreeNodeSwitchList::addShort(), error(), KviKvsTreeNodeSwitchList::isEmpty(), KVSP_ASSERT, KVSP_curCharIsEndOfCommand, KVSP_curCharIsLetter, KVSP_curCharIsLetterOrNumber, KVSP_curCharIsNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_setCurCharPointer, KVSP_skipChar, p, parseCommandParameter(), pBegin, skipSpaces(), and warning().
Referenced by parseCommand(), and parseStringLiteralParameter().
|
private |
Referenced by parseCommaSeparatedParameter().
|
private |
References KVSP_curCharPointer, KVSP_curCharUnicode, l, p, parseCommaSeparatedLiteralParameter(), parseParameterPercentOrDollar(), parseStringParameter(), pBegin, and skipSpaces().
Referenced by parseCommaSeparatedParameterList(), parseCommaSeparatedParameterListNoTree(), and skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, p, parseCommaSeparatedParameter(), and skipSpaces().
Referenced by parseCommand(), parseDollar(), parseSpecialCommandClass(), parseSpecialCommandForeach(), and skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, p, parseCommaSeparatedParameter(), pBegin, s, and skipSpaces().
Referenced by skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, pBegin, skipToNextLine(), and warning().
Referenced by parseInstruction(), parseSpecialCommandClass(), parseSpecialCommandPythonBegin(), and skipSpacesAndNewlines().
|
private |
References __tr2qs_ctx, error(), KviKvsKernel::findCoreFunctionExecRoutine(), i, KviKvsKernel::instance(), KVSP_ASSERT, KVSP_backChar, KVSP_curCharIsFunctionStart, KVSP_curCharIsLetter, KVSP_curCharIsLetterOrNumber, KVSP_curCharIsNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_setCurCharPointer, KVSP_skipChar, l, parseCommaSeparatedParameterList(), parseExpression(), parseInstructionBlock(), pBegin, r, skipSpaces(), and warning().
Referenced by parsePercentOrDollar(), and parseSpecialCommandPythonBegin().
|
private |
References KviKvsTreeNodeExpression::contextDescription(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, KviKvsTreeNodeExpression::parentWithPrecedenceLowerThan(), parseExpressionBinaryOperator(), parseExpressionOperand(), KviKvsTreeNodeExpression::precedence(), KviKvsTreeNodeExpression::right(), KviKvsTreeNodeExpression::setLeft(), KviKvsTreeNodeExpression::setRight(), and skipSpaces().
Referenced by parseAsExpression(), parseBindingOperationLiteralParameter(), parseDollar(), parseExpressionOperand(), parsePercentOrDollar(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), and parseSpecialCommandWhile().
|
private |
References __tr2qs_ctx, error(), KVSP_curCharPointer, KVSP_curCharUnicode, and KVSP_skipChar.
Referenced by parseBindingOperationLiteralParameter(), and parseExpression().
|
private |
References binary_operator_initial_char, KVSP_backChar, KVSP_curCharIsLetter, KVSP_curCharUnicode, and KVSP_skipChar.
Referenced by parseBindingOperationLiteralParameter(), and parseExpressionOperandCore().
|
private |
References __tr2qs_ctx, d, error(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseExpression(), parseExpressionOperand(), parseExpressionOperandCore(), and skipSpaces().
Referenced by parseBindingOperationLiteralParameter(), parseExpression(), and parseExpressionOperand().
|
private |
References __tr2qs_ctx, KviPointerList< T >::append(), KviPointerList< T >::count(), d, error(), KviPointerList< T >::first(), KVSP_curCharIsLetterOrNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseExpressionMightPointToOperator(), parseParameterPercentOrDollar(), parseStringParameter(), pBegin, KviPointerList< T >::setAutoDelete(), and skipSpaces().
Referenced by parseBindingOperationLiteralParameter(), and parseExpressionOperand().
|
private |
Referenced by parsePercentOrDollar().
|
private |
References parseSpecialCommandBreak(), parseSpecialCommandClass(), parseSpecialCommandContinue(), parseSpecialCommandDefpopup(), parseSpecialCommandDefpopupLabelPopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandGlobal(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), parseSpecialCommandUnset(), and parseSpecialCommandWhile().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharIsLetter, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseCommand(), parseComment(), parseInstructionBlock(), and parseVoidFunctionCallOrOperation().
Referenced by parseCommand(), parseInstructionBlock(), parseInstructionList(), parseSpecialCommandClass(), parseSpecialCommandDefpopupLabelPopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), parseSpecialCommandWhile(), and skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, KviKvsTreeNodeInstructionBlock::addInstruction(), error(), i, KviKvsTreeNodeInstructionBlock::instructionCount(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseInstruction(), pBegin, KviKvsTreeNodeInstructionBlock::releaseFirst(), skipSpacesAndNewlines(), and warning().
Referenced by parseDollar(), parseInstruction(), and skipToEndOfCStyleComment().
|
private |
References error(), i, KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, l, parseInstruction(), and skipSpacesAndNewlines().
Referenced by parse(), and skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, d, error(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseBindingOperation(), parseOperationRightSide(), pBegin, SELF_OPERATOR, skipSpaces(), and warning().
Referenced by parseAt(), and parseVoidFunctionCallOrOperation().
|
private |
References KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, p, parseCommandParameter(), pBegin, and skipSpaces().
Referenced by parseAt(), and parseOperation().
|
private |
References KVSP_ASSERT, KVSP_backChar, KVSP_curCharIsFunctionStart, KVSP_curCharIsLetter, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, and parsePercentOrDollar().
Referenced by parseBindingOperationParameter(), parseCommandParameter(), parseCommaSeparatedParameter(), parseExpressionOperandCore(), parseSingleParameterInParenthesis(), parseStringLiteralParameter(), and parseStringParameter().
|
private |
References __tr2qs_ctx, AssumeLocals, error(), KVSP_ASSERT, KVSP_curCharIsLetterOrNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, m_iFlags, m_pGlobals, and pBegin.
Referenced by parsePercentOrDollar(), parseSpecialCommandUnset(), and parseStringLiteralParameter().
|
private |
References KviKvsTreeNodeData::canEvaluateInObjectScope(), e, KviKvsKernel::findCoreFunctionExecRoutine(), i, KviKvsKernel::instance(), KVSP_ASSERT, KVSP_backChar, KVSP_curCharIsFunctionStart, KVSP_curCharIsLetter, KVSP_curCharIsNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_setCurCharPointer, KVSP_skipChar, parseDollar(), parseExpression(), parseHashKey(), parsePercent(), parsePercentOrDollar(), pBegin, r, and skipSpaces().
Referenced by parseParameterPercentOrDollar(), parsePercentOrDollar(), parseSpecialCommandForeach(), parseStringLiteralParameter(), and parseVoidFunctionCallOrOperation().
|
private |
References parseStringParameter().
Referenced by parseSingleParameterInParenthesis().
|
private |
References KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, p, parseParameterPercentOrDollar(), parseSingleLiteralParameterInParenthesis(), parseStringParameter(), pBegin, and skipSpaces().
Referenced by parseSpecialCommandDefpopup(), parseSpecialCommandSwitch(), and skipToEndOfCStyleComment().
|
private |
References __tr2qs_ctx, KviKvsParser(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_skipChar, parseSpecialCommandBreak(), pBegin, skipSpaces(), and warning().
Referenced by init(), parseHashKeyLiteralParameter(), and parseSpecialCommandBreak().
|
private |
References __tr2qs_ctx, KviKvsTreeNodeSpecialCommandClass::addFunctionDefinition(), KviCommandFormatter::bufferFromBlock(), error(), errorBadChar(), KviKvsObjectFunctionHandler::Internal, KVSP_curCharIsEndOfBuffer, KVSP_curCharIsLetter, KVSP_curCharIsLetterOrNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, parseCommaSeparatedParameterList(), parseComment(), parseInstruction(), pBegin, skipSpaces(), and skipSpacesAndNewlines().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_skipChar, pBegin, skipSpaces(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, errorBadChar(), KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseSingleParameterInParenthesis(), parseSpecialCommandDefpopupLabelPopup(), pBegin, skipSpacesAndNewlines(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, KviCommandFormatter::bufferFromBlock(), error(), errorBadChar(), EXTRACT_POPUP_LABEL_CONDITION, EXTRACT_POPUP_LABEL_PARAMETERS, KviPointerList< T >::first(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsLetter, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, KviPointerList< T >::next(), parseInstruction(), parseSpecialCommandDefpopupLabelPopup(), pBegin, KviKvsTreeNodeSpecialCommandDefpopupConditionalLabel::setCondition(), KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon::setIcon(), KviKvsTreeNodeSpecialCommandDefpopupLabel::setItemName(), KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon::setText(), skipSpacesAndNewlines(), and warning().
Referenced by parseHashKeyLiteralParameter(), parseSpecialCommandDefpopup(), and parseSpecialCommandDefpopupLabelPopup().
|
private |
References __tr2qs_ctx, e, error(), errorBadChar(), i, j, KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseExpression(), parseInstruction(), pBegin, skipSpaces(), skipSpacesAndNewlines(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, e, error(), errorBadChar(), KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_setCurCharPointer, KVSP_skipChar, parseExpression(), parseInstruction(), pBegin, skipSpaces(), skipSpacesAndNewlines(), skipToEndOfForControlBlock(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, d, error(), errorBadChar(), KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, parseCommaSeparatedParameterList(), parseInstruction(), parsePercentOrDollar(), skipSpaces(), skipSpacesAndNewlines(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, error(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharIsLetterOrNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, m_pGlobals, pBegin, skipSpaces(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References KviKvsKernel::findCoreSimpleCommandExecRoutine(), KviKvsKernel::instance(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_skipChar, p, pBegin, r, and skipSpaces().
Referenced by init(), and parseSpecialCommandPythonBegin().
|
private |
References __tr2qs_ctx, e, error(), errorBadChar(), i, KVSP_backChar, KVSP_curCharIsLetterOrNumber, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_setCurCharPointer, KVSP_skipChar, parseExpression(), parseInstruction(), pBegin, skipSpacesAndNewlines(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
Referenced by parseCommand().
|
private |
References parseCommand(), parseComment(), parseDollar(), and parseSpecialCommandHelp().
Referenced by parseCommand().
|
private |
References __tr2qs_ctx, KviKvsTreeNodeSpecialCommandSwitch::addLabel(), e, error(), errorBadChar(), KviKvsTreeNodeSpecialCommandSwitch::isEmpty(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsLetter, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseExpression(), parseInstruction(), parseSingleParameterInParenthesis(), pBegin, KviKvsTreeNodeSpecialCommandSwitchLabel::setInstruction(), KviKvsTreeNodeSpecialCommandSwitchLabel::setParameter(), KviKvsTreeNodeSpecialCommandSwitchLabel::setTerminatingBreak(), skipSpaces(), skipSpacesAndNewlines(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, KviPointerList< T >::append(), KviPointerList< T >::count(), d, error(), KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parsePercent(), KviPointerList< T >::setAutoDelete(), skipSpaces(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References __tr2qs_ctx, e, error(), i, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseExpression(), parseInstruction(), pBegin, skipSpacesAndNewlines(), and warning().
Referenced by init(), and parseHashKeyLiteralParameter().
|
private |
References parseCommandSwitchList(), parseParameterPercentOrDollar(), parsePercent(), and parsePercentOrDollar().
Referenced by parseStringParameter().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, l, p, parseParameterPercentOrDollar(), parseStringLiteralParameter(), pBegin, and warning().
Referenced by parseBindingOperationParameter(), parseCommandParameter(), parseCommaSeparatedParameter(), parseExpressionOperandCore(), parseSingleLiteralParameterInParenthesis(), and parseSingleParameterInParenthesis().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharIsEndOfBuffer, KVSP_curCharIsEndOfCommand, KVSP_curCharPointer, KVSP_curCharUnicode, KVSP_skipChar, parseOperation(), parsePercentOrDollar(), pBegin, r, KviKvsTreeNodeOperation::setTargetVariableReference(), skipSpaces(), and warning().
Referenced by parseAt(), and parseInstruction().
|
private |
References __tr2qs_ctx, KviKvsReport::findLineColAndListing(), kvi_va_list, m_pBuffer, m_pScript, m_pWindow, KviKvsReport::ParserError, KviKvsReport::ParserWarning, KviKvsReport::report(), KviPointerList< T >::setAutoDelete(), KviKvsReport::setCodeListing(), and KviQString::vsprintf().
Referenced by error(), parseBindingOperationLiteralParameter(), and warning().
|
private |
References KVSP_backChar, KVSP_curCharUnicode, KVSP_skipChar, and skipSpaces().
Referenced by parseBindingOperation(), parseCommand(), parseCommandParameterList(), parseCommandSwitchList(), parseCommaSeparatedParameter(), parseCommaSeparatedParameterList(), parseCommaSeparatedParameterListNoTree(), parseDollar(), parseExpression(), parseExpressionOperand(), parseExpressionOperandCore(), parseOperation(), parseOperationRightSide(), parsePercentOrDollar(), parseSingleParameterInParenthesis(), parseSpecialCommandBreak(), parseSpecialCommandClass(), parseSpecialCommandContinue(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandGlobal(), parseSpecialCommandHelp(), parseSpecialCommandSwitch(), parseSpecialCommandUnset(), parseVoidFunctionCallOrOperation(), and skipSpaces().
|
private |
References error(), KVSP_backChar, KVSP_curCharUnicode, KVSP_skipChar, parseComment(), and skipSpacesAndNewlines().
Referenced by parseCommand(), parseInstructionBlock(), parseInstructionList(), parseSpecialCommandClass(), parseSpecialCommandDefpopup(), parseSpecialCommandDefpopupLabelPopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), parseSpecialCommandWhile(), and skipSpacesAndNewlines().
|
private |
References error(), errorBadChar(), parseCommandParameter(), parseCommandParameterList(), parseCommaSeparatedParameter(), parseCommaSeparatedParameterList(), parseCommaSeparatedParameterListNoTree(), parseInstruction(), parseInstructionBlock(), parseInstructionList(), parseSingleParameterInParenthesis(), skipToEndOfForControlBlock(), and warning().
|
private |
References __tr2qs_ctx, error(), KVSP_ASSERT, KVSP_curCharPointer, KVSP_curCharUnicode, and KVSP_skipChar.
Referenced by parseSpecialCommandFor(), and skipToEndOfCStyleComment().
|
private |
References KVSP_curCharUnicode, and KVSP_skipChar.
Referenced by parseComment().
|
private |
References kvi_va_end, kvi_va_list, kvi_va_start, and report().
Referenced by parseCommand(), parseCommandSwitchList(), parseComment(), parseDollar(), parseInstructionBlock(), parseOperation(), parseSpecialCommandBreak(), parseSpecialCommandContinue(), parseSpecialCommandDefpopup(), parseSpecialCommandDefpopupLabelPopup(), parseSpecialCommandDo(), parseSpecialCommandFor(), parseSpecialCommandForeach(), parseSpecialCommandGlobal(), parseSpecialCommandIf(), parseSpecialCommandSwitch(), parseSpecialCommandUnset(), parseSpecialCommandWhile(), parseStringParameter(), parseVoidFunctionCallOrOperation(), and skipToEndOfCStyleComment().
|
friend |
References KviKvsKernel, and KviKvsParser().
Referenced by init(), and KviKvsKernel.
|
private |
Referenced by error(), error(), parse(), parseAsExpression(), and parseAsParameter().
|
private |
Referenced by parse(), parseAsExpression(), parseAsParameter(), and parsePercent().
|
private |
Referenced by parse(), parseAsExpression(), parseAsParameter(), and report().
|
private |
Referenced by KviKvsParser(), parse(), parseAsExpression(), parseAsParameter(), parsePercent(), parseSpecialCommandGlobal(), and ~KviKvsParser().
|
private |
Referenced by KviKvsParser(), and report().
|
private |
Referenced by parse(), parseAsExpression(), and parseAsParameter().
|
private |
Referenced by KviKvsParser(), and report().