1 16 19 20 package com.sun.org.apache.xalan.internal.xsltc.compiler; 21 22 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; 23 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; 24 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; 25 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type; 26 import com.sun.org.apache.xalan.internal.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 |