class Preprocessor::ImportSeq

Declaration

class Preprocessor::ImportSeq { /* full declaration omitted */ };

Description

A position within a C++20 import-seq.

Declared at: clang/include/clang/Lex/Preprocessor.h:324

Member Variables

private clang::Preprocessor::ImportSeq::State S
private bool AfterHeaderName = false
Whether we're in the pp-import-suffix following the header-name in a pp-import. If so, a close-brace is not sufficient to end the top-level-token-seq of an import-seq.

Method Overview

Methods

ImportSeq(clang::Preprocessor::ImportSeq::State S)

Declared at: clang/include/clang/Lex/Preprocessor.h:334

Parameters

clang::Preprocessor::ImportSeq::State S

bool afterImportSeq()

Declared at: clang/include/clang/Lex/Preprocessor.h:388

bool afterTopLevelSeq()

Declared at: clang/include/clang/Lex/Preprocessor.h:389

bool atTopLevel()

Declared at: clang/include/clang/Lex/Preprocessor.h:387

void handleCloseBrace()

Description

Saw a close brace.

Declared at: clang/include/clang/Lex/Preprocessor.h:345

void handleCloseBracket()

Description

Saw any kind of close bracket other than '}'.

Declared at: clang/include/clang/Lex/Preprocessor.h:341

void handleExport()

Description

Saw an 'export' identifier.

Declared at: clang/include/clang/Lex/Preprocessor.h:359

void handleHeaderName()

Description

Saw a 'header-name' token; do not recognize any more 'import' tokens until we reach a top-level semicolon.

Declared at: clang/include/clang/Lex/Preprocessor.h:375

void handleImport()

Description

Saw an 'import' identifier.

Declared at: clang/include/clang/Lex/Preprocessor.h:366

void handleMisc()

Description

Saw any other token.

Declared at: clang/include/clang/Lex/Preprocessor.h:382

void handleOpenBracket()

Description

Saw any kind of open bracket.

Declared at: clang/include/clang/Lex/Preprocessor.h:337

void handleSemi()

Description

Saw a semicolon.

Declared at: clang/include/clang/Lex/Preprocessor.h:351