CParser.cparseStatement

C11 6.8 statement: labeled-statement compound-statement expression-statement selection-statement iteration-statement jump-statement

class CParser(AST)
AST.Statement
cparseStatement
(
int flags
,
const(char)** endPtr = null
,
Loc* pEndloc = null
)

Parameters

flags int

PSxxxx

endPtr const(char)**

store location of closing brace

pEndloc Loc*

if { ... statements ... }, store location of closing brace, otherwise loc of last token of statement

Return Value

Type: AST.Statement

parsed statement

Meta