01: /*
02: * $Id: Name.java 265 2004-04-15 13:08:31Z hengels $
03: * (c) Copyright 2004 con:cern development team.
04: *
05: * This file is part of con:cern (http://concern.sf.net).
06: *
07: * con:cern is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU Lesser General Public License
09: * as published by the Free Software Foundation; either version 2.1
10: * of the License, or (at your option) any later version.
11: *
12: * Please see COPYING for the complete licence.
13: */
14: package org.concern.model.parser.ast;
15:
16: /**
17: * @version $Revision: 265 $
18: */
19: public class Name extends AbstractNode {
20: private String content;
21:
22: public Name(String content) {
23: this .content = content;
24: }
25:
26: public String getContent() {
27: return content;
28: }
29:
30: public Object accept(NodeVisitor v) {
31: return v.visit(this);
32: }
33: }
|