MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / postfix

Method postfix

chapter20/src/main/java/com/seaofnodes/simple/Parser.java:1450–1452  ·  view source on GitHub ↗
(char ch)

Source from the content-addressed store, hash-verified

1448 * </pre>
1449 */
1450 private ConstantNode parseLiteral() { return con(_lexer.parseNumber()); }
1451 public static Node con( long con ) { return con==0 ? ZERO : con(TypeInteger.constant(con)); }
1452 public static ConstantNode con( Type t ) { return (ConstantNode)new ConstantNode(t).peephole(); }
1453 public Node peep( Node n ) {
1454 // Peephole, then improve with lexically scoped guards
1455 return _scope.upcastGuard(n.peephole());

Callers 3

parsePrimaryMethod · 0.95
opAssignMethod · 0.95
parsePostfixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected