1 16 19 20 package org.apache.xalan.xsltc.compiler; 21 22 import org.apache.xalan.xsltc.compiler.util.ClassGenerator; 23 import org.apache.xalan.xsltc.compiler.util.ErrorMsg; 24 import org.apache.xalan.xsltc.compiler.util.MethodGenerator; 25 import org.apache.xalan.xsltc.compiler.util.Type; 26 import org.apache.xalan.xsltc.compiler.util.TypeCheckError; 27 28 32 abstract class Instruction extends SyntaxTreeNode { 33 36 public Type typeCheck(SymbolTable stable) throws TypeCheckError { 37 return typeCheckContents(stable); 38 } 39 40 43 public void translate(ClassGenerator classGen, MethodGenerator methodGen) { 44 ErrorMsg msg = new ErrorMsg(ErrorMsg.NOT_IMPLEMENTED_ERR, 45 getClass(), this); 46 getParser().reportError(FATAL, msg); 47 } 48 } 49 | Popular Tags |