Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
TextToNodeMap () | |
void | add (Model::Node *node, SourceLocation location) |
QStringList | files () const |
QList< SourceLocation > | locations (Model::Node *node) const |
Model::Node * | node (const QString &fileName, int line, int column) const |
Private Attributes | |
QHash< QString, QList< QPair< Span, Model::Node * > > > | filenameToSpans |
QStringList | mappedFiles_ |
QMultiHash< Model::Node *, SourceLocation > | nodeToLocation_ |
Export::TextToNodeMap::TextToNodeMap | ( | ) |
void Export::TextToNodeMap::add | ( | Model::Node * | node, |
SourceLocation | location | ||
) |
|
inline |
QList< SourceLocation > Export::TextToNodeMap::locations | ( | Model::Node * | node | ) | const |
Model::Node * Export::TextToNodeMap::node | ( | const QString & | fileName, |
int | line, | ||
int | column | ||
) | const |
|
private |
|
private |
|
private |