SourceFileNode() |
SourceFileNode(const Span& span_, const std::string& sourceFilePath_, const std::string& relativeSourceFilePath_, const std::u32string& projectName_) |
void | Accept(Visitor& visitor) override |
void | AddUsingDirectiveOrDeclaration(Node* usingDirectivesAndDeclaration) |
void | ComputeLineStarts() |
NamespaceNode* | GlobalNs() |
const std::vector<std::string>& | HeaderFilePaths() const |
const std::string& | HtmlSourceFilePath() const |
const std::u32string& | Id() const |
std::vector<int>* | LineStarts() |
bool | Processed() const |
const std::u32string& | ProjectName() const |
void | Read(Reader& reader) override |
const std::string& | RelativeSourceFilePath() |
void | SetContent(std::unique_ptr<std::u32string>&& content_) |
void | SetHeaderFilePaths(std::vector<std::string>&& headerFilePaths_) |
void | SetHtmlSourceFilePath(const std::string& htmlSourceFilePath_) |
void | SetProcessed() |
void | SetSourceFileIndex(int sourceFileIndex_) |
void | SetText(std::u32string&& text_) |
int | SourceFileIndex() const |
const std::string& | SourceFilePath() const |
const std::u32string& | Text() const |
const std::vector<Node*>& | UsingDirectivesAndDeclarations() const |
void | Write(Writer& writer) override |
std::unique_ptr<std::u32string> | content |
std::unique_ptr<NamespaceNode> | globalNs |
std::vector<std::string> | headerFilePaths |
std::string | htmlSourceFilePath |
std::u32string | id |
std::vector<int> | lineStarts |
bool | processed |
std::u32string | projectName |
std::string | relativeSourceFilePath |
int | sourceFileIndex |
std::string | sourceFilePath |
std::u32string | text |
std::vector<Node*> | usingDirectivesAndDeclarations |