Skip to main content

Crate cppshift

Crate cppshift 

Source

Re-exports§

pub use lex::Lexer;

Modules§

ast
AST module for C++20
lex
C++ Lexer to preprocess C++ code This lexer is build out of C++20 ISO standard - Chapter 5. Lexical conventions
transpile
Transpiler module to convert C++ (crate::ast) into Rust (syn)

Macros§

list_span_impl
source_code_span_impl
Public macro: implement SourceCodeSpan for a struct.

Structs§

SourceSpan
Source code span Useful to track the position of a text fragment in the source code, for error reporting.

Traits§

SourceCodeSpan
Trait to implement a SourceSpan getter