Function Parser.parseConditionalDeclaration
Parses a ConditionalDeclaration
ConditionalDeclaration parseConditionalDeclaration
(
bool strict,
bool inTemplateDeclaration = false
);
conditionalDeclaration: compileCondition declaration | compileCondition '{' declaration* '}' | compileCondition ':' declaration+ | compileCondition declaration 'else' ':' declaration* | compileCondition declaration 'else' declaration | compileCondition declaration 'else' '{' declaration* '}' | compileCondition '{' declaration* '}' 'else' declaration | compileCondition '{' declaration* '}' 'else' '{' declaration* '}' | compileCondition '{' declaration* '}' 'else' ':' declaration* | compileCondition ':' declaration+ 'else' declaration | compileCondition ':' declaration+ 'else' '{' declaration* '}' | compileCondition ':' declaration+ 'else' ':' declaration* ;