We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent becbd60 commit 6912607Copy full SHA for 6912607
src/libsyntax/ast_util.rs
@@ -979,6 +979,11 @@ pub fn resolve_internal(id : Ident,
979
}
980
981
/// Compute the marks associated with a syntax context.
982
+pub fn mtwt_marksof(ctxt: SyntaxContext, stopname: Name) -> ~[Mrk] {
983
+ marksof(ctxt, stopname, get_sctable())
984
+}
985
+
986
+// the internal function for computing marks
987
// it's not clear to me whether it's better to use a [] mutable
988
// vector or a cons-list for this.
989
pub fn marksof(ctxt: SyntaxContext, stopname: Name, table: &SCTable) -> ~[Mrk] {
0 commit comments