PageRenderTime 14ms CodeModel.GetById 8ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/nddrylliog/ooc
Java | 29 lines | 21 code | 8 blank | 0 comment | 0 complexity | 49a7e203e1c3dcdaa5296ccac696e24a 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 Mul extends BinaryOperation {
10
11	public Mul(Expression left, Expression right, Token token) {
12		super(left, right, token);
13	}
14
15	public void accept(Visitor visitor) throws IOException {
16		visitor.visit(this);
17	}
18	
19	@Override
20	public OpType getOpType() {
21		return OpType.MUL;
22	}
23
24	@Override
25	public int getPriority() {
26		return 10;
27	}
28
29}