PageRenderTime 213ms CodeModel.GetById 111ms app.highlight 2ms RepoModel.GetById 98ms app.codeStats 0ms

/src/org/ooc/frontend/model/InterfaceDecl.java

http://github.com/nddrylliog/ooc
Java | 28 lines | 20 code | 8 blank | 0 comment | 0 complexity | fa010549da4d2888d0d7d8a31c9183be MD5 | raw file
 1package org.ooc.frontend.model;
 2
 3import java.io.IOException;
 4
 5import org.ooc.frontend.Visitor;
 6import org.ooc.frontend.model.tokens.Token;
 7
 8public class InterfaceDecl extends TypeDecl {
 9
10	public InterfaceDecl(String name, Module module, Token startToken) {
11		super(name, null, module, startToken);
12	}
13
14	@Override
15	public boolean replace(Node oldie, Node kiddo) {
16		return false;
17	}
18
19	public void accept(Visitor visitor) throws IOException {
20		visitor.visit(this);
21	}
22
23	@Override
24	public boolean hasChildren() {
25		return true;
26	}
27
28}