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

Method matchx

chapter22/src/main/java/com/seaofnodes/simple/Parser.java:1567–1567  ·  view source on GitHub ↗
(String syntax)

Source from the content-addressed store, hash-verified

1565 private ConstantNode parseLiteral() { return con(_lexer.parseNumber()); }
1566 public static Node con( long con ) { return con==0 ? ZERO : con(TypeInteger.constant(con)); }
1567 public static ConstantNode con( Type t ) { return (ConstantNode)new ConstantNode(t).peephole(); }
1568 public Node peep( Node n ) {
1569 // Peephole, then improve with lexically scoped guards
1570 return _scope.upcastGuard(n.peephole());

Callers 2

parseStatementMethod · 0.95
parsePrimaryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected