Home
last modified time | relevance | path

Searched refs:CompileError (Results 1 – 25 of 69) sorted by relevance

123

/external/javassist/src/main/javassist/compiler/ast/
DVisitor.java18 import javassist.compiler.CompileError;
26 public void atASTList(ASTList n) throws CompileError {} in atASTList()
27 public void atPair(Pair n) throws CompileError {} in atPair()
29 public void atFieldDecl(FieldDecl n) throws CompileError {} in atFieldDecl()
30 public void atMethodDecl(MethodDecl n) throws CompileError {} in atMethodDecl()
31 public void atStmnt(Stmnt n) throws CompileError {} in atStmnt()
32 public void atDeclarator(Declarator n) throws CompileError {} in atDeclarator()
34 public void atAssignExpr(AssignExpr n) throws CompileError {} in atAssignExpr()
35 public void atCondExpr(CondExpr n) throws CompileError {} in atCondExpr()
36 public void atBinExpr(BinExpr n) throws CompileError {} in atBinExpr()
[all …]
DArrayInit.java18 import javassist.compiler.CompileError;
28 public void accept(Visitor v) throws CompileError { v.atArrayInit(this); } in accept()
DKeyword.java18 import javassist.compiler.CompileError;
34 public void accept(Visitor v) throws CompileError { v.atKeyword(this); } in accept()
DSymbol.java18 import javassist.compiler.CompileError;
34 public void accept(Visitor v) throws CompileError { v.atSymbol(this); } in accept()
DStringL.java18 import javassist.compiler.CompileError;
34 public void accept(Visitor v) throws CompileError { v.atStringL(this); } in accept()
DMember.java18 import javassist.compiler.CompileError;
38 public void accept(Visitor v) throws CompileError { v.atMember(this); } in accept()
DVariable.java18 import javassist.compiler.CompileError;
37 public void accept(Visitor v) throws CompileError { v.atVariable(this); } in accept()
DAssignExpr.java18 import javassist.compiler.CompileError;
37 public void accept(Visitor v) throws CompileError { in accept()
DBinExpr.java18 import javassist.compiler.CompileError;
40 public void accept(Visitor v) throws CompileError { v.atBinExpr(this); } in accept()
/external/javassist/src/main/javassist/compiler/
DParser.java32 public ASTList parseMember(SymbolTable tbl) throws CompileError { in parseMember()
42 public ASTList parseMember1(SymbolTable tbl) throws CompileError { in parseMember1()
75 Declarator d) throws CompileError in parseField()
87 throw new CompileError( in parseField()
105 throws CompileError in parseMethod1()
145 throws CompileError in parseMethod2()
183 private Declarator parseFormalType(SymbolTable tbl) throws CompileError { in parseFormalType()
205 throws CompileError in parseFormalParam()
238 throws CompileError in parseStatement()
281 private Stmnt parseBlock(SymbolTable tbl) throws CompileError { in parseBlock()
[all …]
DCodeGen.java97 protected static void fatal() throws CompileError { in fatal()
98 throw new CompileError("fatal"); in fatal()
147 protected abstract String getSuperName() throws CompileError; in getSuperName()
155 throws CompileError; in resolveClassName()
161 throws CompileError; in resolveClassName()
227 public void compileExpr(ASTree expr) throws CompileError { in compileExpr()
233 throws CompileError in compileBooleanExpr()
239 public void doTypeCheck(ASTree expr) throws CompileError { in doTypeCheck()
244 public void atASTList(ASTList n) throws CompileError { fatal(); } in atASTList()
246 public void atPair(Pair n) throws CompileError { fatal(); } in atPair()
[all …]
DMemberCodeGen.java73 protected String getSuperName() throws CompileError { in getSuperName()
78 protected void insertDefaultSuperCall() throws CompileError { in insertDefaultSuperCall()
188 protected void atTryStmnt(Stmnt st) throws CompileError { in atTryStmnt()
206 throw new CompileError("empty try block"); in atTryStmnt()
273 throws CompileError in addFinally()
291 public void atNewExpr(NewExpr expr) throws CompileError { in atNewExpr()
310 public void atNewArrayExpr(NewExpr expr) throws CompileError { in atNewArrayExpr()
317 throw new CompileError( in atNewArrayExpr()
330 String jvmClassname, ArrayInit init) throws CompileError { in atNewArrayExpr2()
333 throw new CompileError("no array size"); in atNewArrayExpr2()
[all …]
DJvstCodeGen.java80 public void atMember(Member mem) throws CompileError { in atMember()
98 throw new CompileError(dollarTypeName + " is not available"); in atMember()
105 throw new CompileError(clazzName + " is not available"); in atMember()
123 ASTree right, boolean doDup) throws CompileError in atFieldAssign()
128 throw new CompileError("bad operator for " + paramArrayName); in atFieldAssign()
132 throw new CompileError("invalid type for " + paramArrayName); in atFieldAssign()
143 throws CompileError in atAssignParamList()
160 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr()
184 protected void atCastToRtype(CastExpr expr) throws CompileError { in atCastToRtype()
197 throw new CompileError("invalid cast"); in atCastToRtype()
[all …]
DJavac.java87 public CtMember compile(String src) throws CompileError { in compile()
103 throw new CompileError(bb.getMessage()); in compile()
106 throw new CompileError(e.getMessage()); in compile()
128 throws CompileError, CannotCompileException in compileField()
142 throws CompileError in compileMethod()
180 throw new CompileError(e.toString()); in compileMethod()
191 throws CompileError in compileBody()
215 throw new CompileError( in compileBody()
228 throw new CompileError(e.toString()); in compileBody()
270 throws CompileError in recordLocalVariables()
[all …]
DTypeChecker.java88 catch (CompileError e) { in typeToString()
106 protected static void fatal() throws CompileError { in fatal()
107 throw new CompileError("fatal"); in fatal()
120 protected String getSuperName() throws CompileError { in getSuperName()
130 protected String resolveClassName(ASTList name) throws CompileError { in resolveClassName()
137 protected String resolveClassName(String jvmName) throws CompileError { in resolveClassName()
141 public void atNewExpr(NewExpr expr) throws CompileError { in atNewExpr()
155 public void atNewArrayExpr(NewExpr expr) throws CompileError { in atNewArrayExpr()
179 public void atArrayInit(ArrayInit init) throws CompileError { in atArrayInit()
190 throws CompileError in atMultiNewArray()
[all …]
DMemberResolver.java35 private static void fatal() throws CompileError { in fatal()
36 throw new CompileError("fatal"); in fatal()
79 throws CompileError in lookupMethod()
107 throws CompileError in lookupMethod()
198 throws CompileError in compareSignature()
287 catch (CompileError e) { in lookupFieldByJvmName2()
306 throws CompileError in lookupFieldByJvmName()
315 throws CompileError in lookupField()
322 throw new CompileError("no such field: " + fieldName.get()); in lookupField()
325 public CtClass lookupClassByName(ASTList name) throws CompileError { in lookupClassByName()
[all …]
DJvstTypeChecker.java46 public void atMember(Member mem) throws CompileError { in atMember()
69 throws CompileError in atFieldAssign()
86 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr()
110 protected void atCastToRtype(CastExpr expr) throws CompileError { in atCastToRtype()
124 protected void atCastToWrapper(CastExpr expr) throws CompileError { in atCastToWrapper()
140 public void atCallExpr(CallExpr expr) throws CompileError { in atCallExpr()
161 protected void atCflow(ASTList cname) throws CompileError { in atCflow()
200 String[] cnames) throws CompileError { in atMethodArgs()
236 throws CompileError in compileInvokeSpecial()
246 protected void compileUnwrapValue(CtClass type) throws CompileError in compileUnwrapValue()
[all …]
DCompileError.java21 public class CompileError extends Exception { class
25 public CompileError(String s, Lex l) { in CompileError() method in CompileError
30 public CompileError(String s) { in CompileError() method in CompileError
35 public CompileError(CannotCompileException e) { in CompileError() method in CompileError
39 public CompileError(NotFoundException e) { in CompileError() method in CompileError
DAccessorMaker.java40 throws CompileError in getConstructor()
74 throw new CompileError(e); in getConstructor()
77 throw new CompileError(e); in getConstructor()
99 throws CompileError in getMethodAccessor()
136 throw new CompileError(e); in getMethodAccessor()
139 throw new CompileError(e); in getMethodAccessor()
150 throws CompileError in getFieldGetter()
190 throw new CompileError(e); in getFieldGetter()
193 throw new CompileError(e); in getFieldGetter()
201 throws CompileError in getFieldSetter()
[all …]
DProceedHandler.java28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError; in doit()
29 void setReturnType(JvstTypeChecker c, ASTList args) throws CompileError; in setReturnType()
/external/javassist/src/main/javassist/expr/
DFieldAccess.java215 catch (CompileError e) { throw new CannotCompileException(e); } in replace()
237 throws CompileError in doit()
240 throw new CompileError(Javac.proceedName in doit()
263 throws CompileError in setReturnType()
285 throws CompileError in doit()
288 throw new CompileError(Javac.proceedName in doit()
315 throws CompileError in setReturnType()
DCast.java126 catch (CompileError e) { throw new CannotCompileException(e); } in replace()
145 throws CompileError in doit()
148 throw new CompileError(Javac.proceedName in doit()
159 throws CompileError in setReturnType()
DInstanceof.java132 catch (CompileError e) { throw new CannotCompileException(e); } in replace()
149 throws CompileError in doit()
152 throw new CompileError(Javac.proceedName in doit()
163 throws CompileError in setReturnType()
DNewArray.java162 catch (CompileError e) { throw new CannotCompileException(e); } in replace()
170 throws CompileError, NotFoundException, BadBytecode, in replace2()
253 throws CompileError in doit()
257 throw new CompileError(Javac.proceedName in doit()
277 throws CompileError in setReturnType()
/external/python/cpython2/Lib/distutils/command/
Dconfig.py185 from distutils.ccompiler import CompileError
190 except CompileError:
229 from distutils.ccompiler import CompileError
234 except CompileError:
247 from distutils.ccompiler import CompileError, LinkError
253 except (CompileError, LinkError):
266 from distutils.ccompiler import CompileError, LinkError
273 except (CompileError, LinkError, DistutilsExecError):

123