59 #ifndef QDECLARATIVEJSPARSER_P_H 60 #define QDECLARATIVEJSPARSER_P_H 62 #include "private/qdeclarativejsglobal_p.h" 63 #include "private/qdeclarativejsgrammar_p.h" 64 #include "private/qdeclarativejsast_p.h" 65 #include "private/qdeclarativejsengine_p.h" 67 #include <QtCore/QList> 68 #include <QtCore/QString> 140 {
return AST::cast<AST::UiProgram *>(program); }
170 {
return diagnostic_messages; }
183 {
return diagnosticMessage().message; }
186 {
return diagnosticMessage().loc.startLine; }
189 {
return diagnosticMessage().loc.startColumn; }
192 bool parse(
int startToken);
194 void reallocateStack();
197 {
return sym_stack [tos + index - 1]; }
200 {
return location_stack [tos + index - 1]; }
215 enum { TOKEN_BUFFER_SIZE = 3 };
238 #define J_SCRIPT_REGEXPLITERAL_RULE1 78 240 #define J_SCRIPT_REGEXPLITERAL_RULE2 79 246 #endif // QDECLARATIVEJSPARSER_P_H
AST::UiObjectBinding * UiObjectBinding
int errorColumnNumber() const
QString errorMessage() const
AST::ElementList * ElementList
QList< DiagnosticMessage > diagnostic_messages
AST::UiArrayMemberList * UiArrayMemberList
AST::VariableDeclarationList * VariableDeclarationList
AST::UiScriptBinding * UiScriptBinding
AST::UiArrayBinding * UiArrayBinding
AST::UiQualifiedId * UiQualifiedId
AST::CaseClause * CaseClause
AST::FunctionBody * FunctionBody
AST::VariableDeclaration * VariableDeclaration
AST::SourceLocation * location_stack
AST::UiProgram * UiProgram
AST::FunctionDeclaration * FunctionDeclaration
The QString class provides a Unicode character string.
AST::Statement * statement() const
AST::UiProgram * ast() const
AST::SourceElements * SourceElements
AST::SourceLocation yylloc
#define QML_PARSER_EXPORT
DiagnosticMessage diagnosticMessage() const
AST::ExpressionNode * expression() const
AST::UiFormalList * UiFormalList
AST::StatementList * StatementList
virtual Statement * statementCast()
AST::UiSignature * UiSignature
AST::UiObjectInitializer * UiObjectInitializer
AST::CaseBlock * CaseBlock
AST::FormalParameterList * FormalParameterList
#define QT_QML_END_NAMESPACE
#define QT_QML_BEGIN_NAMESPACE
AST::Node * rootNode() const
bool parseSourceElement()
AST::DefaultClause * DefaultClause
virtual UiObjectMember * uiObjectMemberCast()
AST::ExpressionNode * Expression
bool parseUiObjectMember()
AST::UiPublicMember * UiPublicMember
AST::ArgumentList * ArgumentList
AST::UiParameterList * UiParameterList
AST::UiImportList * UiImportList
AST::CaseClauses * CaseClauses
AST::UiObjectMember * uiObjectMember() const
AST::SourceLocation yyprevlloc
virtual ExpressionNode * expressionCast()
AST::UiObjectDefinition * UiObjectDefinition
AST::PropertyName * PropertyName
AST::UiObjectMemberList * UiObjectMemberList
int errorLineNumber() const
QList< DiagnosticMessage > diagnosticMessages() const
AST::SourceLocation & loc(int index)
AST::PropertyNameAndValueList * PropertyNameAndValueList
AST::SourceElement * SourceElement
The QList class is a template class that provides lists.
AST::UiObjectMember * UiObjectMember
AST::Statement * Statement