Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
cpp_indexer._Indexer Class Reference

Public Member Functions

def __init__ (self)
 
def index (self, TranslationUnit unit)
 

Public Attributes

 symbols_index
 
 processed_files
 
 classes_by_usr
 
 files_index
 
 name_stack
 
 info_stack
 
 files_seen_in_unit
 

Detailed Description

Definition at line 128 of file cpp_indexer.py.

Constructor & Destructor Documentation

◆ __init__()

def cpp_indexer._Indexer.__init__ (   self)

Definition at line 138 of file cpp_indexer.py.

138 def __init__(self):
139 self.symbols_index = SymbolsIndex(commit=_get_current_commit_hash())
140
141 self.processed_files = set()
142 self.classes_by_usr = {}
143 self.files_index = {}
144
145 self.name_stack = []
146 self.info_stack = []
147 self.files_seen_in_unit = set()
148
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not set
Definition: switches.h:76

Member Function Documentation

◆ index()

def cpp_indexer._Indexer.index (   self,
TranslationUnit  unit 
)
Index the given translation unit and append new symbols to index.

Definition at line 149 of file cpp_indexer.py.

149 def index(self, unit: TranslationUnit):
150 """Index the given translation unit and append new symbols to index."""
151 self.name_stack.clear()
152 self.info_stack.clear()
153 self.files_seen_in_unit.clear()
154 self._recurse(unit.cursor)
155 self.processed_files |= self.files_seen_in_unit
156

Member Data Documentation

◆ classes_by_usr

cpp_indexer._Indexer.classes_by_usr

Definition at line 142 of file cpp_indexer.py.

◆ files_index

cpp_indexer._Indexer.files_index

Definition at line 143 of file cpp_indexer.py.

◆ files_seen_in_unit

cpp_indexer._Indexer.files_seen_in_unit

Definition at line 147 of file cpp_indexer.py.

◆ info_stack

cpp_indexer._Indexer.info_stack

Definition at line 146 of file cpp_indexer.py.

◆ name_stack

cpp_indexer._Indexer.name_stack

Definition at line 145 of file cpp_indexer.py.

◆ processed_files

cpp_indexer._Indexer.processed_files

Definition at line 141 of file cpp_indexer.py.

◆ symbols_index

cpp_indexer._Indexer.symbols_index

Definition at line 139 of file cpp_indexer.py.


The documentation for this class was generated from the following file: