OSDN Git Service

gccgo: fixes to ast-dump, refactoring of export and ast-dump
[pf3gnuchains/gcc-fork.git] / gcc / go / gofrontend / expressions.h
index 6f74f73..ec59846 100644 (file)
@@ -43,6 +43,7 @@ class Import;
 class Temporary_statement;
 class Label;
 class Ast_dump_context;
+class String_dump;
 
 // The base class for all expressions.
 
@@ -1043,6 +1044,10 @@ class String_expression : public Expression
   tree
   do_get_tree(Translate_context*);
 
+  // Write string literal to a string dump.
+  static void
+  export_string(String_dump* exp, const String_expression* str);
+
   void
   do_export(Export*) const;