MoorIndex.fromMoor constructor
MoorIndex.fromMoor(
- CreateIndexStatement stmt,
- FoundFile file
Implementation
factory MoorIndex.fromMoor(CreateIndexStatement stmt, FoundFile file) {
return MoorIndex(
stmt.indexName,
MoorIndexDeclaration.fromNodeAndFile(stmt, file),
stmt.span!.text,
);
}