Class ProgramBody

java.lang.Object
org.ek9lang.compiler.support.ProgramBody

public final class ProgramBody extends Object
THE reading of a program's body - use it, never a private "_main" test. Phase 1 gives a program a compiler-made method _main holding its body; nobody wrote that name, so the body IS the program: a call graph node, a tool's answer and a message all name the program. Gated on BOTH the name and the owner's genus, so a program's constructor, were one ever made, is not taken for its body.
  • Field Details

  • Method Details