PageRenderTime 102ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 58ms app.codeStats 0ms

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

http://github.com/nddrylliog/ooc
Java | 24 lines | 17 code | 7 blank | 0 comment | 0 complexity | b8c3e277719dd2ef3e6b60c5fb9f0f8a MD5 | raw file
 1package org.ooc.frontend.model;
 2
 3import java.io.IOException;
 4
 5import org.ooc.frontend.Visitor;
 6import org.ooc.frontend.model.OpDecl.OpType;
 7import org.ooc.frontend.model.tokens.Token;
 8
 9public class BinaryNegation extends UnaryOperation {
10
11	public BinaryNegation(Expression inner, Token startToken) {
12		super(inner, startToken);
13	}
14
15	@Override
16	public OpType getOpType() {
17		return OpType.B_NEG;
18	}
19
20	public void accept(Visitor visitor) throws IOException {
21		visitor.visit(this);
22	}
23
24}