visitNamespaceDecl method

  1. @override
String visitNamespaceDecl(
  1. NamespaceDecl stmt
)
override

Implementation

@override
String visitNamespaceDecl(NamespaceDecl stmt) {
  final output = StringBuffer();
  output.write('${_lexicon.kNamespace} ${stmt.id.id} ');
  final blockString = visitBlockStmt(stmt.definition);
  output.write(blockString);
  return output.toString();
}