MCPcopy Create free account
hub / github.com/GMUEClab/ecj / checkPreamble

Method checkPreamble

ecj/src/main/java/ec/util/Code.java:616–643  ·  view source on GitHub ↗

Finds the next nonblank line, then trims the line and checks the preamble. Returns a DecodeReturn on the line if successful, else posts a fatal error. Sets the DecodeReturn's line number. The DecodeReturn has not yet been decoded. You'll need to do that with Code.decode(...)

(String preamble, final EvolutionState state, 
        final LineNumberReader reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

readFitnessMethod · 0.95
readByteWithPreambleMethod · 0.95
readShortWithPreambleMethod · 0.95
readLongWithPreambleMethod · 0.95
readFloatWithPreambleMethod · 0.95
readFitnessMethod · 0.95

Calls 3

readLineMethod · 0.80
fatalMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected