MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / main

Method main

src/main/java/wyil/lang/WyilFile.java:7780–7789  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

7778 }
7779
7780 public static void main(String[] args) {
7781 Schema current = createSchema();
7782 for (int i = 0; i <= 255; ++i) {
7783 Syntactic.Item.Descriptor desc = current.getDescriptor(i);
7784 if (desc != null) {
7785 System.out.println("public static final int " + desc.getMnemonic() + " = " + i + "; // " + desc);
7786 }
7787 }
7788 System.out.println("VERSION: " + current.getMajorVersion() + "." + current.getMinorVersion());
7789 }
7790}

Callers

nothing calls this directly

Calls 6

createSchemaMethod · 0.95
getDescriptorMethod · 0.95
getMajorVersionMethod · 0.95
getMinorVersionMethod · 0.95
printlnMethod · 0.80
getMnemonicMethod · 0.80

Tested by

no test coverage detected