MCPcopy Create free account
hub / github.com/chibash/stone / operator

Method operator

src/stone/ast/BinaryExpr.java:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 public BinaryExpr(List<ASTree> c) { super(c); }
6 public ASTree left() { return child(0); }
7 public String operator() {
8 return ((ASTLeaf)child(1)).token().getText();
9 }
10 public ASTree right() { return child(2); }
11}

Callers 6

lookupMethod · 0.80
evalMethod · 0.80
typeCheckMethod · 0.80
translateMethod · 0.80
isExprStmntMethod · 0.80
compileMethod · 0.80

Calls 3

getTextMethod · 0.45
tokenMethod · 0.45
childMethod · 0.45

Tested by

no test coverage detected