コード例 #1
0
  public HandlerExpr newHandlerExpr(HandlerType type, String exprString)
      throws AttrHandlerException {
    //		AttrSession.logPrintln(VerboseControl.logTrace,
    //				"JexHandler:\n->newHandlerExpr");

    SimpleNode.setClassResolver(this.classResolver);
    try {
      return new JexExpr(exprString, false, (JexType) type);
    } catch (AttrHandlerException ex1) {
      throw ex1;
    } finally {
      //			AttrSession.logPrintln(VerboseControl.logTrace,
      //					"JexHandler:\n<-newHandlerExpr");
    }
  }
コード例 #2
0
 public void adaptParser() {
   SimpleNode.setClassResolver(this.classResolver);
 }