question: private void serializeParser ( LRParser parser ) { File cup2File = new File ( getSerializedSpecAbsolutePath ( ) ) ; File specFile = new File ( getSpecAbsolutePath ( ) ) ; if ( verbose ) { log ( "specification source file     = " + getSpecAbsolutePath ( ) ) ; log ( "Cup2 file for serialization   = " + cup2File . getAbsolutePath ( ) ) ; log ( "specification - last modified = " + specFile . lastModified ( ) ) ; log ( "CUP2 file     - last modified = " + cup2File . lastModified ( ) ) ; } if ( specFile . lastModified ( ) > cup2File . lastModified ( ) || ! cup2File . exists ( ) ) { if ( verbose && ! cup2File . exists ( ) ) log ( "cup2 file for serialization does not yet exist and is created..." ) ; else if ( verbose && specFile . lastModified ( ) > cup2File . lastModified ( ) ) log ( "Spec file is newer than cup2 file... creating cup2 file" ) ; LRParserSerialization serial = new LRParserSerialization ( cup2File . getAbsolutePath ( ) ) ; serial . saveParser ( parser ) ; } else if ( verbose ) { log ( "Specification is older than CUP2 file. No serialization." ) ; } }
target:  Saves the parsing table to a file (if the related specification is newer than the cup2 file that is to hold the serialization)