Qore Programming Language Reference Manual
0.9.11
QC_AstParser.dox.h
1
namespace
astparser
{
4
8
class
AstParser
{
9
10
public
:
12
/***/
13
constructor
();
14
15
public
:
17
19
*
list
getDiagnostics
();
20
21
public
:
23
25
int
getErrorCount
();
26
27
public
:
29
32
*
AstTree
parseFile
(
string
filename);
33
34
public
:
36
39
*
AstTree
parseString
(
string
str);
40
};
41
};
astparser::AstParser::parseFile
*AstTree parseFile(string filename)
Parse file.
astparser::AstParser
AstParser class.
Definition:
QC_AstParser.dox.h:8
astparser::AstParser::parseString
*AstTree parseString(string str)
Parse string.
astparser::AstTree
AstTree class.
Definition:
QC_AstTree.dox.h:8
Qore::list
list< auto > list(...)
Returns a list of the arguments passed at the top level.
astparser
astparser namespace
Definition:
QC_AstParser.dox.h:2
astparser::AstParser::getErrorCount
int getErrorCount()
Get parse error count.
astparser::AstParser::constructor
constructor()
Creates the AstParser.
astparser::AstParser::getDiagnostics
*list getDiagnostics()
Get diagnostics.