ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Line | |
---|
1 | //
|
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
|
---|
3 | //
|
---|
4 | // The contents of this file are covered under the licence agreement in the
|
---|
5 | // file "LICENCE" distributed with Cforall.
|
---|
6 | //
|
---|
7 | // Mangler.h --
|
---|
8 | //
|
---|
9 | // Author : Richard C. Bilson
|
---|
10 | // Created On : Sun May 17 21:44:03 2015
|
---|
11 | // Last Modified By : Peter A. Buhr
|
---|
12 | // Last Modified On : Sat Jul 22 09:45:30 2017
|
---|
13 | // Update Count : 15
|
---|
14 | //
|
---|
15 |
|
---|
16 | #pragma once
|
---|
17 |
|
---|
18 | #include <map> // for map, map<>::value_compare
|
---|
19 | #include <sstream> // for ostringstream
|
---|
20 | #include <string> // for string
|
---|
21 | #include <utility> // for pair
|
---|
22 |
|
---|
23 | #include "SynTree/SynTree.h" // for Types
|
---|
24 | #include "SynTree/Visitor.h" // for Visitor, maybeAccept
|
---|
25 |
|
---|
26 | namespace SymTab {
|
---|
27 | namespace Mangler {
|
---|
28 | /// Mangle syntax tree object; primary interface to clients
|
---|
29 | std::string mangle( BaseSyntaxNode * decl, bool mangleOverridable = true, bool typeMode = false, bool mangleGenericParams = true );
|
---|
30 |
|
---|
31 | /// Mangle a type name; secondary interface
|
---|
32 | std::string mangleType( Type* ty );
|
---|
33 | /// Mangle ignoring generic type parameters
|
---|
34 | std::string mangleConcrete( Type* ty );
|
---|
35 | } // Mangler
|
---|
36 | } // SymTab
|
---|
37 |
|
---|
38 | // Local Variables: //
|
---|
39 | // tab-width: 4 //
|
---|
40 | // mode: c++ //
|
---|
41 | // compile-command: "make install" //
|
---|
42 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.