public void writeVocabFile() { Target target = getTarget(); if (target == null) { throw new UnsupportedOperationException("Cannot generate code without a target."); } // write out the vocab interchange file; used by antlr, // does not change per target ST tokenVocabSerialization = getTokenVocabOutput(); String fileName = getVocabFileName(); if ( fileName!=null ) { target.genFile(g, tokenVocabSerialization, fileName); } }
public void writeVocabFile() { // write out the vocab interchange file; used by antlr, // does not change per target ST tokenVocabSerialization = getTokenVocabOutput(); String fileName = getVocabFileName(); if ( fileName!=null ) { getTarget().genFile(g, tokenVocabSerialization, fileName); } }
public void writeVocabFile() { // write out the vocab interchange file; used by antlr, // does not change per target ST tokenVocabSerialization = getTokenVocabOutput(); String fileName = getVocabFileName(); if ( fileName!=null ) { getTarget().genFile(g, tokenVocabSerialization, fileName); } }
public void writeVocabFile() { // write out the vocab interchange file; used by antlr, // does not change per target ST tokenVocabSerialization = getTokenVocabOutput(); String fileName = getVocabFileName(); if ( fileName!=null ) { getTarget().genFile(g, tokenVocabSerialization, fileName); } }
public void writeVocabFile() { // write out the vocab interchange file; used by antlr, // does not change per target ST tokenVocabSerialization = getTokenVocabOutput(); String fileName = getVocabFileName(); if ( fileName!=null ) { getTarget().genFile(g, tokenVocabSerialization, fileName); } }