├── .gitignore ├── doc ├── Adam - working notes.txt ├── AspectsOfKlein.txt ├── Copyright.txt ├── HowToEditTheWebsite.txt ├── KindsOfPrimitives.txt ├── Klein - To Do List Jan 04.ooutline ├── Klein-0.1-Release-Notes.pdf ├── UnimplementedPrimitives.txt ├── Yoda - Memory System notes.txt └── records │ ├── BuildTimes.sxc │ ├── ExportCycleTimes.sxc │ ├── ModulesBeingMapped.txt │ ├── Numbers2004.txt │ ├── Numbers2005.txt │ └── Numbers2006.txt ├── klein_C_code ├── src │ ├── kleinDebugServer │ │ ├── kleinDebugServer.cpp │ │ ├── kleinDebugServer.hh │ │ ├── linuxDebugServer.hh │ │ ├── machDebugServer.hh │ │ └── smallSelfDebugServer.hh │ └── smallVM │ │ ├── interpreter │ │ ├── abstract_interpreter.cpp │ │ ├── abstract_interpreter.hh │ │ ├── abstract_interpreter_inline.hh │ │ ├── bits.hh │ │ ├── byteCodes.cpp │ │ ├── byteCodes.hh │ │ ├── interpreter.cpp │ │ └── interpreter.hh │ │ ├── lookup │ │ ├── lookup.cpp │ │ ├── lookup.hh │ │ └── lookupType.hh │ │ ├── memory │ │ ├── freeLists.cpp │ │ ├── freeLists.hh │ │ ├── memory.cpp │ │ └── memory.hh │ │ ├── misc │ │ ├── MapLayout_otherDecls.incl.hh │ │ ├── MethodMapLayout_otherDecls.incl.hh │ │ ├── SlotsMapLayout_otherDecls.incl.hh │ │ ├── abstractVectorLayout.cpp │ │ ├── abstractVectorLayout.hh │ │ ├── allNonMapLayouts.hh │ │ ├── base.cpp │ │ ├── base.hh │ │ ├── bigHeader.hh │ │ ├── blockLayout.cpp │ │ ├── blockLayout.hh │ │ ├── byteVectorLayout.cpp │ │ ├── byteVectorLayout.hh │ │ ├── bytesPartLayout.cpp │ │ ├── bytesPartLayout.hh │ │ ├── generation.cpp │ │ ├── generation.hh │ │ ├── headerFields.cpp │ │ ├── headerFields.hh │ │ ├── headerFields.incl.hh │ │ ├── immediateLayout.cpp │ │ ├── immediateLayout.hh │ │ ├── kleinObject.cpp │ │ ├── kleinObject.hh │ │ ├── layout.cpp │ │ ├── layout.hh │ │ ├── mapTypeTesters.incl.impl.hh │ │ ├── maps.cpp │ │ ├── maps.hh │ │ ├── maps.incl.hh │ │ ├── maps.incl.impl.hh │ │ ├── markFields.incl.hh │ │ ├── markLayout.cpp │ │ ├── markLayout.hh │ │ ├── memoryObjectLayout.cpp │ │ ├── memoryObjectLayout.hh │ │ ├── objVectorLayout.cpp │ │ ├── objVectorLayout.hh │ │ ├── objectLayout.cpp │ │ ├── objectLayout.hh │ │ ├── slotTypeFields.incl.hh │ │ ├── smallVMDeclarationsOrStubs.hh │ │ ├── space.cpp │ │ ├── space.hh │ │ ├── tag.cpp │ │ ├── tag.hh │ │ ├── tests.cpp │ │ ├── theVM.cpp │ │ ├── theVM.hh │ │ ├── universe.cpp │ │ ├── universe.hh │ │ ├── verifier.cpp │ │ ├── verifier.hh │ │ ├── wordLayout.cpp │ │ └── wordLayout.hh │ │ ├── objects │ │ ├── abstractVector.hh │ │ ├── activation.cpp │ │ ├── activation.hh │ │ ├── activationMap.hh │ │ ├── blockObj.hh │ │ ├── byteVector.cpp │ │ ├── byteVector.hh │ │ ├── map.cpp │ │ ├── map.hh │ │ ├── mark.hh │ │ ├── objVector.cpp │ │ ├── objVector.hh │ │ ├── object.cpp │ │ ├── object.hh │ │ ├── objectTable.cpp │ │ ├── objectTable.hh │ │ ├── stringObj.cpp │ │ ├── stringObj.hh │ │ ├── tag.hh │ │ ├── wellKnownObjects.cpp │ │ └── wellKnownObjects.hh │ │ ├── prims │ │ ├── errorCodes.cpp │ │ ├── errorCodes.hh │ │ ├── prims.cpp │ │ └── prims.hh │ │ └── runtime │ │ ├── asserts.cpp │ │ ├── asserts.hh │ │ ├── small_self_types.hh │ │ ├── utils.cpp │ │ └── utils.hh └── xcode │ ├── attic │ ├── project_builder │ │ ├── Makefile │ │ └── unixDebugServer │ │ │ ├── Makefile │ │ │ ├── build │ │ │ └── intermediates │ │ │ │ ├── unixDebugServer.build │ │ │ │ ├── Headermaps │ │ │ │ │ └── unixDebugServer.hmap │ │ │ │ ├── Objects │ │ │ │ │ ├── LinkFileList │ │ │ │ │ └── LinkFileListPrelink │ │ │ │ ├── unixDebugServer.build │ │ │ │ │ ├── Objects-normal │ │ │ │ │ │ └── LinkFileList │ │ │ │ │ └── unixDebugServer.hmap │ │ │ │ └── unixDebugServer.pbxindex │ │ │ │ │ ├── categories.pbxbtree │ │ │ │ │ ├── cdecls.pbxbtree │ │ │ │ │ ├── decls.pbxbtree │ │ │ │ │ ├── files.pbxbtree │ │ │ │ │ ├── imports.pbxbtree │ │ │ │ │ ├── pbxindex.header │ │ │ │ │ ├── protocols.pbxbtree │ │ │ │ │ ├── refs.pbxbtree │ │ │ │ │ ├── strings.pbxstrings │ │ │ │ │ ├── control │ │ │ │ │ └── strings │ │ │ │ │ ├── subclasses.pbxbtree │ │ │ │ │ ├── symbols0.pbxsymbols │ │ │ │ │ └── unixDebugServer.indexed-headers │ │ │ │ ├── unixDebugServer.indexed-headers │ │ │ │ └── unixDebugServer.pbxindex │ │ │ │ ├── categories.pbxbtree │ │ │ │ ├── decls.pbxbtree │ │ │ │ ├── files.pbxbtree │ │ │ │ ├── imports.pbxbtree │ │ │ │ ├── pbxindex.header │ │ │ │ ├── protocols.pbxbtree │ │ │ │ ├── refs.pbxbtree │ │ │ │ ├── strings.pbxstrings │ │ │ │ ├── control │ │ │ │ └── strings │ │ │ │ ├── subclasses.pbxbtree │ │ │ │ └── symbols0.pbxsymbols │ │ │ └── unixDebugServer.pbproj │ │ │ ├── Makefile │ │ │ ├── project.pbxproj │ │ │ ├── ungar.mode1 │ │ │ └── ungar.pbxuser │ └── smallSelf.xcodeproj │ │ ├── adam.mode1 │ │ ├── adam.pbxuser │ │ ├── alex.mode1 │ │ ├── alex.pbxuser │ │ ├── project.pbxproj │ │ ├── ungar.mode1 │ │ └── ungar.pbxuser │ └── klein_C_code │ ├── klein_C_code.1 │ └── klein_C_code.xcodeproj │ ├── adam.mode1 │ ├── adam.pbxuser │ ├── project.pbxproj │ ├── ungar.mode1 │ └── ungar.pbxuser ├── objects ├── .cvsignore └── applications │ ├── asmKit │ ├── Makefile │ ├── asmFrame │ │ ├── Makefile │ │ ├── asmBitRange1.self │ │ ├── asmBitRange2.self │ │ ├── asmBitRange3.self │ │ ├── asmFrame.self │ │ ├── asmFrame2.self │ │ ├── asmFrame3.self │ │ ├── asmFrame4.self │ │ ├── asmFrame5.self │ │ ├── asmFrameAbsGen.self │ │ ├── asmFrameGens.self │ │ ├── asmFrameRegs.self │ │ ├── asmFrameTemps1.self │ │ ├── asmFrameTemps2.self │ │ └── asmSignOps.self │ ├── asmI386 │ │ └── asmI386.self │ ├── asmKit.self │ ├── asmPPC │ │ ├── Makefile │ │ ├── asmPPC.self │ │ ├── asmPPCBitRange.self │ │ ├── asmPPCGens.self │ │ ├── asmPPCReg1.self │ │ ├── asmPPCReg2.self │ │ └── asmPPCReg3.self │ ├── asmSPARC │ │ ├── Makefile │ │ ├── asmSPARC.self │ │ ├── asmSPARCBitRange.self │ │ └── asmSPARCGens.self │ └── oasmSPARC │ │ ├── Makefile │ │ ├── asmSPARC.self │ │ ├── asmSPARCBitRange.self │ │ └── asmSPARCGens.self │ ├── klein │ ├── Makefile │ ├── foreignPrograms │ │ ├── Makefile │ │ └── ppc │ │ │ └── Makefile │ ├── integerStates.self │ ├── javaParser │ │ ├── Makefile │ │ ├── allJavaParser.self │ │ ├── classNodeSum.self │ │ ├── classOrIntNodeSum.self │ │ ├── compUnitNodeSum.self │ │ ├── impOrPkgDclNodeSum.self │ │ ├── importDclNodeSum.self │ │ ├── intNodeSum.self │ │ ├── javaLexer.self │ │ ├── javaMinis.self │ │ ├── javaNodeSummaries.self │ │ ├── javaParseNodes.self │ │ ├── javaParser.self │ │ ├── javaParserTester.self │ │ ├── methOrConNodeSum.self │ │ ├── packageDclNodeSum.self │ │ ├── tests │ │ │ ├── Interpreter.java │ │ │ ├── Makefile │ │ │ ├── Richards.java │ │ │ ├── Richards_a_1.java │ │ │ ├── Richards_a_2.java │ │ │ ├── Richards_a_3.java │ │ │ ├── Richards_a_4.java │ │ │ ├── Richards_a_5.java │ │ │ ├── Richards_a_6.java │ │ │ ├── Richards_a_7.java │ │ │ ├── Richards_x_1.java │ │ │ ├── Richards_x_2.java │ │ │ ├── Richards_x_3.java │ │ │ ├── Richards_x_4.java │ │ │ ├── Richards_x_5.java │ │ │ ├── Richards_x_6.java │ │ │ ├── Richards_x_7.java │ │ │ ├── arrayInit1.java │ │ │ ├── arrayInit2.java │ │ │ ├── arrayInit3.java │ │ │ ├── blockDcl1.java │ │ │ ├── blockDcl2.java │ │ │ ├── break1.java │ │ │ ├── break2.java │ │ │ ├── break3.java │ │ │ ├── break4.java │ │ │ ├── break5.java │ │ │ ├── case1.java │ │ │ ├── case2.java │ │ │ ├── case3.java │ │ │ ├── case4.java │ │ │ ├── class1.java │ │ │ ├── class2.java │ │ │ ├── class3.java │ │ │ ├── class4.java │ │ │ ├── class5.java │ │ │ ├── class6.java │ │ │ ├── constructor1.java │ │ │ ├── constructor2.java │ │ │ ├── cont1.java │ │ │ ├── cont2.java │ │ │ ├── cont3.java │ │ │ ├── cont4.java │ │ │ ├── cont5.java │ │ │ ├── dclInBlock.java │ │ │ ├── default1.java │ │ │ ├── default2.java │ │ │ ├── do1.java │ │ │ ├── do2.java │ │ │ ├── do3.java │ │ │ ├── do4.java │ │ │ ├── do5.java │ │ │ ├── do6.java │ │ │ ├── do7.java │ │ │ ├── do8.java │ │ │ ├── emptyFile.java │ │ │ ├── emptyStmt1.java │ │ │ ├── emptyStmt2.java │ │ │ ├── emptyStmt3.java │ │ │ ├── expr1.java │ │ │ ├── expr1_1.java │ │ │ ├── expr1_2.java │ │ │ ├── expr1_3.java │ │ │ ├── expr1_4.java │ │ │ ├── expr1_5.java │ │ │ ├── expr1_6.java │ │ │ ├── expr1_7.java │ │ │ ├── expr1_8.java │ │ │ ├── expr2.java │ │ │ ├── expr2_1.java │ │ │ ├── expr2_2.java │ │ │ ├── expr2_3.java │ │ │ ├── expr3.java │ │ │ ├── expr3_1.java │ │ │ ├── expr3_10.java │ │ │ ├── expr3_11.java │ │ │ ├── expr3_12.java │ │ │ ├── expr3_13.java │ │ │ ├── expr3_14.java │ │ │ ├── expr3_15.java │ │ │ ├── expr3_16.java │ │ │ ├── expr3_17.java │ │ │ ├── expr3_18.java │ │ │ ├── expr3_19.java │ │ │ ├── expr3_2.java │ │ │ ├── expr3_20.java │ │ │ ├── expr3_21.java │ │ │ ├── expr3_22.java │ │ │ ├── expr3_3.java │ │ │ ├── expr3_4.java │ │ │ ├── expr3_5.java │ │ │ ├── expr3_6.java │ │ │ ├── expr3_7.java │ │ │ ├── expr3_8.java │ │ │ ├── expr3_9.java │ │ │ ├── exprStmt1.java │ │ │ ├── exprStmt2.java │ │ │ ├── extends1.java │ │ │ ├── extends2.java │ │ │ ├── for1.java │ │ │ ├── for10.java │ │ │ ├── for11.java │ │ │ ├── for12.java │ │ │ ├── for13.java │ │ │ ├── for14.java │ │ │ ├── for15.java │ │ │ ├── for2.java │ │ │ ├── for3.java │ │ │ ├── for4.java │ │ │ ├── for5.java │ │ │ ├── for6.java │ │ │ ├── for7.java │ │ │ ├── for8.java │ │ │ ├── for9.java │ │ │ ├── formal1.java │ │ │ ├── formal2.java │ │ │ ├── formal3.java │ │ │ ├── formal4.java │ │ │ ├── formal5.java │ │ │ ├── formal6.java │ │ │ ├── formal7.java │ │ │ ├── if1.java │ │ │ ├── if10.java │ │ │ ├── if11.java │ │ │ ├── if12.java │ │ │ ├── if2.java │ │ │ ├── if3.java │ │ │ ├── if4.java │ │ │ ├── if5.java │ │ │ ├── if6.java │ │ │ ├── if7.java │ │ │ ├── if8.java │ │ │ ├── if9.java │ │ │ ├── implementsComma.java │ │ │ ├── import1.java │ │ │ ├── import2.java │ │ │ ├── import3.java │ │ │ ├── intConstructor.java │ │ │ ├── interface1.java │ │ │ ├── interface2.java │ │ │ ├── interface3.java │ │ │ ├── interface4.java │ │ │ ├── ivar.java │ │ │ ├── justTry.java │ │ │ ├── label1.java │ │ │ ├── label2.java │ │ │ ├── label3.java │ │ │ ├── lexer1.java │ │ │ ├── lexer2.java │ │ │ ├── lexer3.java │ │ │ ├── method1.java │ │ │ ├── mismatchedBracket.java │ │ │ ├── missingAttr1.java │ │ │ ├── missingAttr2.java │ │ │ ├── missingInit.java │ │ │ ├── nestedBlock1.java │ │ │ ├── nestedBlock2.java │ │ │ ├── noNameStmt.java │ │ │ ├── noTryBlock.java │ │ │ ├── package1.java │ │ │ ├── package2.java │ │ │ ├── package3.java │ │ │ ├── package4.java │ │ │ ├── package5.java │ │ │ ├── package6.java │ │ │ ├── package7.java │ │ │ ├── package8.java │ │ │ ├── plusFn.java │ │ │ ├── prim1.java │ │ │ ├── prim10.java │ │ │ ├── prim11.java │ │ │ ├── prim12.java │ │ │ ├── prim13.java │ │ │ ├── prim14.java │ │ │ ├── prim15.java │ │ │ ├── prim16.java │ │ │ ├── prim17.java │ │ │ ├── prim18.java │ │ │ ├── prim19.java │ │ │ ├── prim2.java │ │ │ ├── prim20.java │ │ │ ├── prim21.java │ │ │ ├── prim22.java │ │ │ ├── prim23.java │ │ │ ├── prim24.java │ │ │ ├── prim25.java │ │ │ ├── prim26.java │ │ │ ├── prim27.java │ │ │ ├── prim28.java │ │ │ ├── prim29.java │ │ │ ├── prim3.java │ │ │ ├── prim30.java │ │ │ ├── prim31.java │ │ │ ├── prim32.java │ │ │ ├── prim33.java │ │ │ ├── prim34.java │ │ │ ├── prim35.java │ │ │ ├── prim36.java │ │ │ ├── prim37.java │ │ │ ├── prim38.java │ │ │ ├── prim39.java │ │ │ ├── prim4.java │ │ │ ├── prim40.java │ │ │ ├── prim41.java │ │ │ ├── prim42.java │ │ │ ├── prim43.java │ │ │ ├── prim44.java │ │ │ ├── prim45.java │ │ │ ├── prim46.java │ │ │ ├── prim47.java │ │ │ ├── prim48.java │ │ │ ├── prim49.java │ │ │ ├── prim5.java │ │ │ ├── prim50.java │ │ │ ├── prim51.java │ │ │ ├── prim52.java │ │ │ ├── prim53.java │ │ │ ├── prim54.java │ │ │ ├── prim55.java │ │ │ ├── prim56.java │ │ │ ├── prim57.java │ │ │ ├── prim58.java │ │ │ ├── prim59.java │ │ │ ├── prim6.java │ │ │ ├── prim60.java │ │ │ ├── prim7.java │ │ │ ├── prim8.java │ │ │ ├── prim9.java │ │ │ ├── prototype1.java │ │ │ ├── prototype2.java │ │ │ ├── qualifiedConstructor.java │ │ │ ├── results │ │ │ │ ├── Makefile │ │ │ │ ├── Richards │ │ │ │ ├── arrayInit1 │ │ │ │ ├── arrayInit2 │ │ │ │ ├── arrayInit3 │ │ │ │ ├── blockDcl1 │ │ │ │ ├── blockDcl2 │ │ │ │ ├── break1 │ │ │ │ ├── break2 │ │ │ │ ├── break3 │ │ │ │ ├── break4 │ │ │ │ ├── break5 │ │ │ │ ├── case1 │ │ │ │ ├── case2 │ │ │ │ ├── case3 │ │ │ │ ├── case4 │ │ │ │ ├── class1 │ │ │ │ ├── class2 │ │ │ │ ├── class3 │ │ │ │ ├── class4 │ │ │ │ ├── class5 │ │ │ │ ├── class6 │ │ │ │ ├── constructor1 │ │ │ │ ├── constructor2 │ │ │ │ ├── cont1 │ │ │ │ ├── cont2 │ │ │ │ ├── cont3 │ │ │ │ ├── cont4 │ │ │ │ ├── cont5 │ │ │ │ ├── dclInBlock │ │ │ │ ├── default1 │ │ │ │ ├── default2 │ │ │ │ ├── do1 │ │ │ │ ├── do2 │ │ │ │ ├── do3 │ │ │ │ ├── do4 │ │ │ │ ├── do5 │ │ │ │ ├── do6 │ │ │ │ ├── do7 │ │ │ │ ├── do8 │ │ │ │ ├── emptyFile │ │ │ │ ├── emptyStmt1 │ │ │ │ ├── emptyStmt2 │ │ │ │ ├── emptyStmt3 │ │ │ │ ├── expr1 │ │ │ │ ├── expr1_1 │ │ │ │ ├── expr1_2 │ │ │ │ ├── expr1_3 │ │ │ │ ├── expr1_4 │ │ │ │ ├── expr1_5 │ │ │ │ ├── expr1_6 │ │ │ │ ├── expr1_7 │ │ │ │ ├── expr1_8 │ │ │ │ ├── expr2 │ │ │ │ ├── expr2_1 │ │ │ │ ├── expr2_2 │ │ │ │ ├── expr2_3 │ │ │ │ ├── expr3 │ │ │ │ ├── expr3_1 │ │ │ │ ├── expr3_10 │ │ │ │ ├── expr3_11 │ │ │ │ ├── expr3_12 │ │ │ │ ├── expr3_13 │ │ │ │ ├── expr3_14 │ │ │ │ ├── expr3_15 │ │ │ │ ├── expr3_16 │ │ │ │ ├── expr3_17 │ │ │ │ ├── expr3_18 │ │ │ │ ├── expr3_19 │ │ │ │ ├── expr3_2 │ │ │ │ ├── expr3_20 │ │ │ │ ├── expr3_21 │ │ │ │ ├── expr3_22 │ │ │ │ ├── expr3_3 │ │ │ │ ├── expr3_4 │ │ │ │ ├── expr3_5 │ │ │ │ ├── expr3_6 │ │ │ │ ├── expr3_7 │ │ │ │ ├── expr3_8 │ │ │ │ ├── expr3_9 │ │ │ │ ├── exprStmt1 │ │ │ │ ├── exprStmt2 │ │ │ │ ├── extends1 │ │ │ │ ├── extends2 │ │ │ │ ├── for1 │ │ │ │ ├── for10 │ │ │ │ ├── for11 │ │ │ │ ├── for12 │ │ │ │ ├── for13 │ │ │ │ ├── for14 │ │ │ │ ├── for15 │ │ │ │ ├── for2 │ │ │ │ ├── for3 │ │ │ │ ├── for4 │ │ │ │ ├── for5 │ │ │ │ ├── for6 │ │ │ │ ├── for7 │ │ │ │ ├── for8 │ │ │ │ ├── for9 │ │ │ │ ├── formal1 │ │ │ │ ├── formal2 │ │ │ │ ├── formal3 │ │ │ │ ├── formal4 │ │ │ │ ├── formal5 │ │ │ │ ├── formal6 │ │ │ │ ├── formal7 │ │ │ │ ├── if1 │ │ │ │ ├── if10 │ │ │ │ ├── if11 │ │ │ │ ├── if12 │ │ │ │ ├── if2 │ │ │ │ ├── if3 │ │ │ │ ├── if4 │ │ │ │ ├── if5 │ │ │ │ ├── if6 │ │ │ │ ├── if7 │ │ │ │ ├── if8 │ │ │ │ ├── if9 │ │ │ │ ├── implementsComma │ │ │ │ ├── import1 │ │ │ │ ├── import2 │ │ │ │ ├── import3 │ │ │ │ ├── intConstructor │ │ │ │ ├── interface1 │ │ │ │ ├── interface2 │ │ │ │ ├── interface3 │ │ │ │ ├── interface4 │ │ │ │ ├── ivar │ │ │ │ ├── justTry │ │ │ │ ├── label1 │ │ │ │ ├── label2 │ │ │ │ ├── label3 │ │ │ │ ├── lexer1 │ │ │ │ ├── lexer2 │ │ │ │ ├── lexer3 │ │ │ │ ├── method1 │ │ │ │ ├── mismatchedBracket │ │ │ │ ├── missingAttr1 │ │ │ │ ├── missingAttr2 │ │ │ │ ├── missingInit │ │ │ │ ├── nestedBlock1 │ │ │ │ ├── nestedBlock2 │ │ │ │ ├── noNameStmt │ │ │ │ ├── noTryBlock │ │ │ │ ├── package1 │ │ │ │ ├── package2 │ │ │ │ ├── package3 │ │ │ │ ├── package4 │ │ │ │ ├── package5 │ │ │ │ ├── package6 │ │ │ │ ├── package7 │ │ │ │ ├── package8 │ │ │ │ ├── plusFn │ │ │ │ ├── prim1 │ │ │ │ ├── prim10 │ │ │ │ ├── prim11 │ │ │ │ ├── prim12 │ │ │ │ ├── prim13 │ │ │ │ ├── prim14 │ │ │ │ ├── prim15 │ │ │ │ ├── prim16 │ │ │ │ ├── prim17 │ │ │ │ ├── prim18 │ │ │ │ ├── prim19 │ │ │ │ ├── prim2 │ │ │ │ ├── prim20 │ │ │ │ ├── prim21 │ │ │ │ ├── prim22 │ │ │ │ ├── prim23 │ │ │ │ ├── prim24 │ │ │ │ ├── prim25 │ │ │ │ ├── prim26 │ │ │ │ ├── prim27 │ │ │ │ ├── prim28 │ │ │ │ ├── prim29 │ │ │ │ ├── prim3 │ │ │ │ ├── prim30 │ │ │ │ ├── prim31 │ │ │ │ ├── prim32 │ │ │ │ ├── prim33 │ │ │ │ ├── prim34 │ │ │ │ ├── prim35 │ │ │ │ ├── prim36 │ │ │ │ ├── prim37 │ │ │ │ ├── prim38 │ │ │ │ ├── prim39 │ │ │ │ ├── prim4 │ │ │ │ ├── prim40 │ │ │ │ ├── prim41 │ │ │ │ ├── prim42 │ │ │ │ ├── prim43 │ │ │ │ ├── prim44 │ │ │ │ ├── prim45 │ │ │ │ ├── prim46 │ │ │ │ ├── prim47 │ │ │ │ ├── prim48 │ │ │ │ ├── prim49 │ │ │ │ ├── prim5 │ │ │ │ ├── prim50 │ │ │ │ ├── prim51 │ │ │ │ ├── prim52 │ │ │ │ ├── prim53 │ │ │ │ ├── prim54 │ │ │ │ ├── prim55 │ │ │ │ ├── prim56 │ │ │ │ ├── prim57 │ │ │ │ ├── prim58 │ │ │ │ ├── prim59 │ │ │ │ ├── prim6 │ │ │ │ ├── prim60 │ │ │ │ ├── prim7 │ │ │ │ ├── prim8 │ │ │ │ ├── prim9 │ │ │ │ ├── prototype1 │ │ │ │ ├── prototype2 │ │ │ │ ├── qualifiedConstructor │ │ │ │ ├── return1 │ │ │ │ ├── return2 │ │ │ │ ├── return3 │ │ │ │ ├── return4 │ │ │ │ ├── return5 │ │ │ │ ├── simpleInit │ │ │ │ ├── staticInit1 │ │ │ │ ├── staticInit2 │ │ │ │ ├── staticInit3 │ │ │ │ ├── switch1 │ │ │ │ ├── switch2 │ │ │ │ ├── switch3 │ │ │ │ ├── switch4 │ │ │ │ ├── switch5 │ │ │ │ ├── switch6 │ │ │ │ ├── sync1 │ │ │ │ ├── sync2 │ │ │ │ ├── sync3 │ │ │ │ ├── sync4 │ │ │ │ ├── sync5 │ │ │ │ ├── sync6 │ │ │ │ ├── sync7 │ │ │ │ ├── sync8 │ │ │ │ ├── throw1 │ │ │ │ ├── throw2 │ │ │ │ ├── throw3 │ │ │ │ ├── throw4 │ │ │ │ ├── throws1 │ │ │ │ ├── throws2 │ │ │ │ ├── throws3 │ │ │ │ ├── try1 │ │ │ │ ├── try2 │ │ │ │ ├── try3 │ │ │ │ ├── try4 │ │ │ │ ├── try5 │ │ │ │ ├── try6 │ │ │ │ ├── unmatched1 │ │ │ │ ├── unmatched2 │ │ │ │ ├── unterminatedStatement │ │ │ │ ├── var1 │ │ │ │ ├── var2 │ │ │ │ ├── while1 │ │ │ │ ├── while2 │ │ │ │ ├── while3 │ │ │ │ ├── while4 │ │ │ │ ├── while5 │ │ │ │ ├── while6 │ │ │ │ ├── while7 │ │ │ │ ├── while8 │ │ │ │ └── wrongFinally │ │ │ ├── return1.java │ │ │ ├── return2.java │ │ │ ├── return3.java │ │ │ ├── return4.java │ │ │ ├── return5.java │ │ │ ├── simpleInit.java │ │ │ ├── staticInit1.java │ │ │ ├── staticInit2.java │ │ │ ├── staticInit3.java │ │ │ ├── switch1.java │ │ │ ├── switch2.java │ │ │ ├── switch3.java │ │ │ ├── switch4.java │ │ │ ├── switch5.java │ │ │ ├── switch6.java │ │ │ ├── sync1.java │ │ │ ├── sync2.java │ │ │ ├── sync3.java │ │ │ ├── sync4.java │ │ │ ├── sync5.java │ │ │ ├── sync6.java │ │ │ ├── sync7.java │ │ │ ├── sync8.java │ │ │ ├── throw1.java │ │ │ ├── throw2.java │ │ │ ├── throw3.java │ │ │ ├── throw4.java │ │ │ ├── throws1.java │ │ │ ├── throws2.java │ │ │ ├── throws3.java │ │ │ ├── try1.java │ │ │ ├── try2.java │ │ │ ├── try3.java │ │ │ ├── try4.java │ │ │ ├── try5.java │ │ │ ├── try6.java │ │ │ ├── unmatched1.java │ │ │ ├── unmatched2.java │ │ │ ├── unterminatedStatement.java │ │ │ ├── var1.java │ │ │ ├── var2.java │ │ │ ├── while1.java │ │ │ ├── while2.java │ │ │ ├── while3.java │ │ │ ├── while4.java │ │ │ ├── while5.java │ │ │ ├── while6.java │ │ │ ├── while7.java │ │ │ ├── while8.java │ │ │ └── wrongFinally.java │ │ └── varDclNodeSum.self │ ├── javaUI2 │ │ ├── Makefile │ │ ├── javaCatReferrent.self │ │ ├── javaUI2.self │ │ ├── javaUI2ACModel.self │ │ ├── javaUI2ASModel.self │ │ ├── javaUI2CUModel.self │ │ ├── javaUI2CatModel.self │ │ ├── javaUI2ClassModel.self │ │ ├── javaUI2ImpDclModel.self │ │ ├── javaUI2ImpPkgModel.self │ │ ├── javaUI2InterfModel.self │ │ ├── javaUI2PCModel.self │ │ ├── javaUI2PkgModel.self │ │ ├── javaUI2SlotModel.self │ │ └── javaUI2TDModel.self │ ├── klein.self │ ├── kleinActivations.self │ ├── kleinAsmPgmExporter.self │ ├── kleinBytecodes.self │ ├── kleinC1_Allocs.self │ ├── kleinC1_BCI.self │ ├── kleinC1_Gens.self │ ├── kleinC1_IRNodes.self │ ├── kleinC1_Values.self │ ├── kleinC1_locs.self │ ├── kleinCachingMirror.self │ ├── kleinCompiler.self │ ├── kleinCompiler0.self │ ├── kleinCompiler1.self │ ├── kleinCompiler2.self │ ├── kleinCompilerTester.self │ ├── kleinDB.self │ ├── kleinExport.self │ ├── kleinExportTests.self │ ├── kleinFrames.self │ ├── kleinJava.self │ ├── kleinLayouts.self │ ├── kleinMirrorCache.self │ ├── kleinModels.self │ ├── kleinMorphs.self │ ├── kleinNMethod.self │ ├── kleinObjExporter.self │ ├── kleinObjects.self │ ├── kleinPrims.self │ ├── kleinProcess.self │ ├── kleinProxyClients.self │ ├── kleinReflection.self │ ├── kleinRelocators.self │ ├── kleinResendDetector.self │ ├── kleinSelfVM.self │ ├── kleinSendDesc.self │ ├── kleinSmallInterp.self │ ├── kleinSnapshotWriter.self │ ├── kleinSpitterOuter.self │ ├── kleinTestVM.self │ ├── kleinUI.self │ ├── kleinVM.self │ ├── kleinVMExporter.self │ ├── kleinVarHdrsCodeGen.self │ ├── kleinWordVector.self │ ├── recreateKleinSnap.self │ ├── test.java │ ├── vmKitAbsPgmExporter.self │ ├── vmKitActivations.self │ ├── vmKitAnnoCache.self │ ├── vmKitBase.self │ ├── vmKitCachingMirror.self │ ├── vmKitCardTable.self │ ├── vmKitCloning.self │ ├── vmKitDB.self │ ├── vmKitExport.self │ ├── vmKitExportList.self │ ├── vmKitGC.self │ ├── vmKitGeneration.self │ ├── vmKitIncrObjMapper.self │ ├── vmKitIncrementalUpd.self │ ├── vmKitInterpreter.self │ ├── vmKitLayouts.self │ ├── vmKitLclMemIntrface.self │ ├── vmKitLenses.self │ ├── vmKitLookup.self │ ├── vmKitMapImporting.self │ ├── vmKitMaps.self │ ├── vmKitMemInterface.self │ ├── vmKitMemory.self │ ├── vmKitMirrorCache.self │ ├── vmKitModels.self │ ├── vmKitMorphs.self │ ├── vmKitNMethodCache.self │ ├── vmKitObjMapper.self │ ├── vmKitObjectLocator.self │ ├── vmKitObjects.self │ ├── vmKitOops.self │ ├── vmKitPrims.self │ ├── vmKitProcess.self │ ├── vmKitProxyClients.self │ ├── vmKitProxySockets.self │ ├── vmKitReflection.self │ ├── vmKitRmtMemIntrface.self │ ├── vmKitSelectorFinder.self │ ├── vmKitSlotType.self │ ├── vmKitSpace.self │ ├── vmKitUI.self │ ├── vmKitUniverse.self │ ├── vmKitUpdater.self │ ├── vmKitVM.self │ ├── vmKitVMBuilder.self │ ├── vmKitVMImage.self │ ├── vmKitVarHdrs.self │ ├── vmKitVarHdrsObjMapr.self │ ├── vmKitVarHdrsUniv.self │ ├── vmKitVarHdrsVerify.self │ ├── vmKitVerifier.self │ ├── vmKitWordLayout.self │ ├── vmKits.self │ ├── yoda.self │ ├── yodaActivation.self │ ├── yodaActivations.self │ ├── yodaDB.self │ ├── yodaLayouts.self │ ├── yodaModels.self │ ├── yodaMorphs.self │ ├── yodaObjects.self │ ├── yodaProcess.self │ ├── yodaProxyClients.self │ ├── yodaReflection.self │ ├── yodaSmallImage.self │ ├── yodaTests.self │ ├── yodaUI.self │ ├── yodaVM.self │ ├── yodaVMTests.self │ ├── yodaVarHdrs.self │ └── yodaWellKnowns.self │ └── parseKit │ ├── Makefile │ ├── parseKit.self │ ├── parseKit1.self │ ├── parseKitCharSets.self │ ├── parseKitCharSets2.self │ ├── parseKitCharSets3.self │ ├── parseKitErr.self │ ├── parseKitErr1.self │ ├── parseKitInput.self │ ├── parseKitMinis.self │ ├── parseKitNodes.self │ ├── parseKitSamples.self │ ├── parseKitTester.self │ ├── parseKitTokens.self │ ├── parseKitUI.self │ └── parseNode.self └── public_html ├── index.html ├── running.html └── todo.html /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.OLD 3 | klein_C_code/xcode/klein_C_code/build/* 4 | bin/mac_osx/kleinDebugServer 5 | -------------------------------------------------------------------------------- /doc/HowToEditTheWebsite.txt: -------------------------------------------------------------------------------- 1 | sftp adamspitz,kleinvm@web.sourceforge.net 2 | -------------------------------------------------------------------------------- /doc/Klein-0.1-Release-Notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/doc/Klein-0.1-Release-Notes.pdf -------------------------------------------------------------------------------- /doc/records/BuildTimes.sxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/doc/records/BuildTimes.sxc -------------------------------------------------------------------------------- /doc/records/ExportCycleTimes.sxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/doc/records/ExportCycleTimes.sxc -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/interpreter/abstract_interpreter_inline.hh: -------------------------------------------------------------------------------- 1 | inline void abstract_interpreter_bytecode_info::decode(fint c) { 2 | code= c; 3 | op= getOp(code); 4 | x= getIndex(code); 5 | } 6 | 7 | 8 | inline abstract_interpreter_interbytecode_state::abstract_interpreter_interbytecode_state() { 9 | reset_lexical_level(); 10 | reset_index(); 11 | reset_send_modifiers(); 12 | last_literal= NULL; 13 | } 14 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/interpreter/bits.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_BITS_H 2 | # define KLEIN_BITS_H 3 | 4 | # define AllBits ~0 5 | # define NoBits 0 6 | # define OneBit 1 7 | 8 | # define addBits(x, m) ((x) | (m)) 9 | # define setBits(x, m) ((x) |= (m)) 10 | # define clearBits(x, m) ((x) &= ~(m)) 11 | # define maskBits(x, m) ((x) & (m)) 12 | # define anySet(x, m) (maskBits((x), (m)) != NoBits) 13 | # define nthBit(n) (OneBit << (n)) 14 | # define addNth(x, n) addBits((x), nthBit(n)) 15 | # define setNth(x, n) setBits((x), nthBit(n)) 16 | # define clearNth(x, n) clearBits((x), nthBit(n)) 17 | # define isSet(x, n) anySet((x), nthBit(n)) 18 | # define nthMask(n) (n == 32 ? AllBits : (nthBit(n) - OneBit)) 19 | # define lowerBits(x, n) maskBits((x), nthMask(n)) 20 | 21 | # define roundMask(x, m) (((x) + (m)) & ~(m)) 22 | # define roundBits(x, n) roundMask((x), nthMask(n)) 23 | # define roundTo(x, v) roundMask((x), (v) - OneBit) 24 | 25 | # endif 26 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/interpreter/byteCodes.cpp: -------------------------------------------------------------------------------- 1 | # include "byteCodes.hh" -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/interpreter/interpreter.hh: -------------------------------------------------------------------------------- 1 | # ifndef INTERPRETER_HH 2 | # define INTERPRETER_HH 3 | 4 | # include "small_self_types.hh" 5 | 6 | class Activation; 7 | 8 | class Interpreter { 9 | public: 10 | static void start(oop_t rcvr, oop_t sel); 11 | static Activation* loop(Activation*); 12 | 13 | static oop_t current_activation(); 14 | }; 15 | 16 | 17 | # endif // INTERPRETER_HH -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/memory/memory.hh: -------------------------------------------------------------------------------- 1 | # ifndef MEMORY_HH 2 | # define MEMORY_HH 3 | 4 | # include "small_self_types.hh" 5 | 6 | # define NO_BYTES_PART 0 7 | 8 | class MemObj; 9 | 10 | class Memory { 11 | public: 12 | static oop_t allocate_oops (fint nOops, MemObj** addrp = 0 ); 13 | static oop_t allocate_oops_and_bytes(fint nOops, fint nBytes, MemObj** addrp = 0, char** bytesp = 0); 14 | 15 | static bool is_address_in_space( oop_t* addr, MemObj* space_addr ); 16 | 17 | static void remember_to_revisit(MemObj* addr); 18 | static oop_t adjust_markOop_for_clone(oop_t mark_oop, oop_t new_obj); 19 | 20 | static void add_to_remembered_set(oop_t o); 21 | 22 | static void scavenge(); 23 | 24 | static void not_safe_to_do_gc_now(); 25 | static void safe_to_do_gc_now(); 26 | }; 27 | 28 | 29 | # endif // MEMORY_HH 30 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/MethodMapLayout_otherDecls.incl.hh: -------------------------------------------------------------------------------- 1 | Oop codesOf( Oop o ) { return contentsOfSlotInObject( o, "_codes" ); } 2 | Oop literalsOf( Oop o ) { return contentsOfSlotInObject( o, "_literals" ); } 3 | 4 | Oop enclosingMapOopOf( Oop o ) { 5 | //TODO: I bet this is wrong. I'm confused. 6 | error("TODO: enclosingMapOopOf(o)"); 7 | return mapOf(o); 8 | } -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/SlotsMapLayout_otherDecls.incl.hh: -------------------------------------------------------------------------------- 1 | void verifyObjectSlotBounds( Oop mapOop, int lowest, int pastHighest, Verifier* aVerifier ); 2 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/abstractVectorLayout.cpp: -------------------------------------------------------------------------------- 1 | # include "abstractVectorLayout.hh" 2 | 3 | bool AbstractVectorLayout :: isIndexOutOfBounds( Oop o, int i ) { 4 | return !( 0 <= i && i < indexableSizeOf(o) ); 5 | } 6 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/abstractVectorLayout.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_ABSTRACT_VECTOR_LAYOUT_H 2 | # define KLEIN_ABSTRACT_VECTOR_LAYOUT_H 3 | 4 | # include "memoryObjectLayout.hh" 5 | 6 | class AbstractVectorLayout : public MemoryObjectLayout { 7 | public: 8 | virtual int indexableSizeOf( Oop o ) = 0; 9 | 10 | bool isIndexOutOfBounds( Oop o, int i ); 11 | 12 | FailureCode boundsCheck( Oop o, int i ) { 13 | return isIndexOutOfBounds(o, i) ? FAILED : SUCCEEDED; 14 | } 15 | }; 16 | 17 | # endif // KLEIN_ABSTRACT_VECTOR_LAYOUT_H 18 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/allNonMapLayouts.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_ALL_LAYOUTS_H 2 | # define KLEIN_ALL_LAYOUTS_H 3 | 4 | # include "immediateLayout.hh" 5 | # include "markLayout.hh" 6 | # include "bytesPartLayout.hh" 7 | # include "objectLayout.hh" 8 | # include "memoryObjectLayout.hh" 9 | # include "blockLayout.hh" 10 | # include "abstractVectorLayout.hh" 11 | # include "byteVectorLayout.hh" 12 | # include "objVectorLayout.hh" 13 | 14 | # endif // KLEIN_ALL_LAYOUTS_H 15 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/blockLayout.cpp: -------------------------------------------------------------------------------- 1 | # include "blockLayout.hh" 2 | # include "immediateLayout.hh" 3 | # include "headerFields.hh" 4 | 5 | intNN BlockLayout :: homeFramePointerOf( Oop o ) { return homeFramePointerField()-> valueFor( o, this ); } 6 | void BlockLayout :: set_homeFramePointerOf( Oop o, intNN fp ) { homeFramePointerField()->setValueFor( o, fp, this ); } 7 | 8 | void BlockLayout :: zap_homeFramePointerOf( Oop o ) { set_homeFramePointerOf( o, SmiLayout().encode(0) ); } 9 | 10 | AbstractHeaderField* BlockLayout :: lastField() { return homeFramePointerField(); } 11 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/blockLayout.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_BLOCK_LAYOUT_H 2 | # define KLEIN_BLOCK_LAYOUT_H 3 | 4 | # include "memoryObjectLayout.hh" 5 | 6 | class BlockLayout : public MemoryObjectLayout { 7 | public: 8 | 9 | intNN homeFramePointerOf( Oop o ); 10 | void set_homeFramePointerOf( Oop o, intNN fp ); 11 | void zap_homeFramePointerOf( Oop o ); 12 | 13 | OopValueHeaderField* homeFramePointerField(); 14 | virtual AbstractHeaderField* lastField(); 15 | }; 16 | 17 | 18 | # endif // KLEIN_BLOCK_LAYOUT_H 19 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/bytesPartLayout.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_BYTES_PART_LAYOUT_H 2 | # define KLEIN_BYTES_PART_LAYOUT_H 3 | 4 | # include "layout.hh" 5 | 6 | class BytesPartLayout : public AbstractLayout { 7 | public: 8 | BPRef allocateBytesPartWithIndexableSize(int nBytes); 9 | 10 | Byte* addressOfFirstByteInBytesPart(BPRef bpRef); 11 | 12 | int indexableSizeOfBytesPart(BPRef bpRef ); 13 | void set_indexableSizeOfBytesPart(BPRef bpRef, int s); 14 | 15 | Byte* forBytesPart_AddressAt(BPRef bpRef, int i ); 16 | Byte forBytesPart_At (BPRef bpRef, int i ); 17 | void forBytesPart_At_Put (BPRef bpRef, int i, Byte b); 18 | 19 | BPRef nextBytesPartAfter(BPRef bpRef); 20 | }; 21 | 22 | # endif // KLEIN_BYTES_PART_LAYOUT_H 23 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/generation.cpp: -------------------------------------------------------------------------------- 1 | # include "generation.hh" 2 | # include "space.hh" 3 | 4 | EdenSpace* NewGeneration::edenSpace() { 5 | return new EdenSpace(contentsOfSlotNamed("edenSpace")); 6 | } 7 | 8 | 9 | BPRef NewGeneration::allocateBytes(int nBytes) { 10 | return edenSpace()->allocateBytes(nBytes); 11 | } 12 | 13 | Address NewGeneration::allocateOops(int nOops) { 14 | return edenSpace()->allocateOops(nOops); 15 | } 16 | 17 | # define SPACES_DO_WITH_NAME(x, xName, body) {Space* x = edenSpace(); char* xName = "eden"; body} 18 | 19 | void NewGeneration::verify(Verifier* aVerifier) { 20 | SPACES_DO_WITH_NAME(s, sName, 21 | s->verifySpace(sName, aVerifier); 22 | ) 23 | } 24 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/generation.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_GENERATION_H 2 | # define KLEIN_GENERATION_H 3 | 4 | # include "kleinObject.hh" 5 | 6 | class EdenSpace; 7 | class Verifier; 8 | 9 | class Generation : public KleinObject { 10 | public: 11 | Generation(Oop oop) : KleinObject(oop) {} 12 | }; 13 | 14 | class NewGeneration : public Generation { 15 | public: 16 | NewGeneration(Oop oop) : Generation(oop) {} 17 | 18 | EdenSpace* edenSpace(); 19 | 20 | BPRef allocateBytes(int nBytes); 21 | Address allocateOops (int nOops ); 22 | 23 | void verify(Verifier* aVerifier); 24 | }; 25 | 26 | # endif // KLEIN_GENERATION_H 27 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/immediateLayout.cpp: -------------------------------------------------------------------------------- 1 | # include "immediateLayout.hh" 2 | 3 | void ImmediateLayout :: verifyObject_UpTo_With( Oop mapOop, Oop o, int nextIndex, Verifier* aVerifier ) { 4 | error("should never get here"); 5 | } 6 | 7 | bool ImmediateLayout :: hasMyTag( Oop o ) { 8 | return Tag::tagOfOop(o) == myTag(); 9 | } 10 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/immediateLayout.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_IMMEDIATE_LAYOUT_H 2 | # define KLEIN_IMMEDIATE_LAYOUT_H 3 | 4 | # include "objectLayout.hh" 5 | # include "tag.hh" 6 | 7 | class ImmediateLayout : public ObjectLayout { 8 | public: 9 | virtual TagValue myTag() {error("childShouldImplement"); return -1;} 10 | 11 | Oop encode ( int v ) { return (v << Tag::width) | myTag(); } 12 | 13 | Oop oopForValue( int v ) { return encode(v); } 14 | 15 | bool hasMyTag( Oop o ); 16 | 17 | void verifyObject_UpTo_With( Oop mapOop, Oop o, int nextIndex, Verifier* aVerifier ); 18 | }; 19 | 20 | class SmiLayout : public ImmediateLayout { 21 | public: 22 | virtual TagValue myTag() { return Tag::smi; } 23 | 24 | int decode( Oop oop ) { return oop >> Tag::width; } 25 | 26 | int valueOf( Oop oop ) { return decode(oop); } 27 | }; 28 | 29 | class FloatLayout : public ImmediateLayout { 30 | public: 31 | virtual TagValue myTag() { return Tag::flt; } 32 | }; 33 | 34 | # endif // KLEIN_IMMEDIATE_LAYOUT_H 35 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/kleinObject.cpp: -------------------------------------------------------------------------------- 1 | # include "kleinObject.hh" 2 | # include "maps.hh" 3 | # include "immediateLayout.hh" 4 | 5 | 6 | Oop KleinObject::contentsOfSlotNamed( char* n ) { 7 | return MemoryObjectLayout().contentsOfSlotInObject( _oop, n ); 8 | } 9 | 10 | int KleinObject::smiContentsOfSlotNamed( char* n ) { 11 | // TODO: This method does not properly handle the case 12 | // of an improper oop. Need to fix to handle illegal oops. 13 | return SmiLayout().valueOf( contentsOfSlotNamed(n) ); 14 | } 15 | 16 | FailureCode KleinObject::setContentsOfSlotNamed( char* n, Oop o ) { 17 | return MemoryObjectLayout().setContentsOfSlotInObject( _oop, o, n ); 18 | } 19 | 20 | FailureCode KleinObject::setSmiContentsOfSlotNamed( char* n, int i ) { 21 | return setContentsOfSlotNamed( n, SmiLayout().oopForValue(i) ); 22 | } 23 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/kleinObject.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_OBJECT_H 2 | # define KLEIN_OBJECT_H 3 | 4 | # include "base.hh" 5 | 6 | class KleinObject { 7 | protected: 8 | Oop _oop; 9 | public: 10 | KleinObject(Oop oop) : _oop(oop) {} 11 | 12 | Oop contentsOfSlotNamed( char* n ); 13 | int smiContentsOfSlotNamed( char* n ); 14 | 15 | FailureCode setContentsOfSlotNamed( char* n, Oop o ); 16 | FailureCode setSmiContentsOfSlotNamed( char* n, int i ); 17 | }; 18 | 19 | # endif // KLEIN_OBJECT_H 20 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/layout.cpp: -------------------------------------------------------------------------------- 1 | # include "layout.hh" 2 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/layout.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_LAYOUTS_H 2 | # define KLEIN_LAYOUTS_H 3 | 4 | # include "base.hh" 5 | 6 | class AbstractLayout { 7 | }; 8 | 9 | # endif // KLEIN_LAYOUTS_H 10 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/maps.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_MAPS_H 2 | # define KLEIN_MAPS_H 3 | 4 | # include "objVectorLayout.hh" 5 | 6 | class Verifier; 7 | 8 | # include "maps.incl.hh" 9 | 10 | # endif // KLEIN_MAPS_H 11 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/maps.incl.impl.hh: -------------------------------------------------------------------------------- 1 | /* THIS FILE WAS AUTO-GENERATED BY klein objectSystemSpitterOuter */ 2 | 3 | ObjectLayout* SlotsMapLayout::myLayout() {return new MemoryObjectLayout();} 4 | ObjectLayout* BlockMapLayout::myLayout() {return new BlockLayout();} 5 | ObjectLayout* ObjVectorMapLayout::myLayout() {return new ObjVectorLayout();} 6 | ObjectLayout* ByteVectorMapLayout::myLayout() {return new ByteVectorLayout();} 7 | ObjectLayout* ImmediateMapLayout::myLayout() {return new ImmediateLayout();} 8 | ObjectLayout* SmiMapLayout::myLayout() {return new SmiLayout();} 9 | ObjectLayout* FloatMapLayout::myLayout() {return new FloatLayout();} 10 | 11 | /* THIS FILE WAS AUTO-GENERATED BY klein objectSystemSpitterOuter */ 12 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/objectLayout.cpp: -------------------------------------------------------------------------------- 1 | # include "objectLayout.hh" 2 | # include "tag.hh" 3 | # include "memoryObjectLayout.hh" 4 | 5 | 6 | Oop ObjectLayout::mapOf( Oop o ) { 7 | TagValue t = Tag::tagOfOop(o); 8 | switch (t) { 9 | case Tag::mem : { return MemoryObjectLayout().mapOf(o); } 10 | case Tag::smi : error("smi" ); break; 11 | case Tag::flt : error("float" ); break; 12 | case Tag::mark : error("smi" ); break; 13 | default: error("unknown tag value"); 14 | } 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/objectLayout.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_OBJECT_LAYOUT_H 2 | # define KLEIN_OBJECT_LAYOUT_H 3 | 4 | # include "layout.hh" 5 | 6 | class Verifier; 7 | 8 | class ObjectLayout : public AbstractLayout { 9 | public: 10 | Oop mapOf( Oop o ); 11 | 12 | virtual void verifyObject_UpTo_With( Oop mapOop, Oop o, int nextIndex, Verifier* aVerifier ) = 0; 13 | }; 14 | 15 | # endif // KLEIN_OBJECT_LAYOUT_H 16 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/slotTypeFields.incl.hh: -------------------------------------------------------------------------------- 1 | /* THIS FILE WAS AUTO-GENERATED BY klein objectSystemSpitterOuter */ 2 | 3 | const BitCount slotType_slotTypeField_width = 2; 4 | const BitCount slotType_slotTypeField_shift = 2; 5 | const FieldValue slotType_slotTypeField_objectSlotValue = 0; 6 | const FieldValue slotType_slotTypeField_mapSlotValue = 1; 7 | const FieldValue slotType_slotTypeField_argumentSlotValue = 2; 8 | const BitCount slotType_isParentField_width = 1; 9 | const BitCount slotType_isParentField_shift = slotType_slotTypeField_width + slotType_slotTypeField_shift; 10 | const BitCount slotType_isAssignableField_width = 1; 11 | const BitCount slotType_isAssignableField_shift = slotType_isParentField_width + slotType_isParentField_shift; 12 | 13 | /* THIS FILE WAS AUTO-GENERATED BY klein objectSystemSpitterOuter */ 14 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/tag.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_TAG_H 2 | # define KLEIN_TAG_H 3 | 4 | # include "base.hh" 5 | 6 | 7 | class Tag { 8 | public: 9 | static const int width = 2; 10 | 11 | static const intNN mask = (1 << width) - 1; 12 | 13 | static const TagValue smi = 0; 14 | static const TagValue mem = 1; 15 | static const TagValue flt = 2; 16 | static const TagValue mark = 3; 17 | 18 | static TagValue tagOfOop( Oop o ) { return o & mask; } 19 | }; 20 | 21 | # endif // KLEIN_TAG_H 22 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/theVM.cpp: -------------------------------------------------------------------------------- 1 | # include "theVM.hh" 2 | # include "universe.hh" 3 | # include "stdio.h" //TODO: take this out 4 | # include "verifier.hh" 5 | 6 | static Oop oopForTheVM = 0; 7 | 8 | void setBootstrapInfo(Oop oop) { 9 | oopForTheVM = oop; 10 | } 11 | 12 | TheVM* theVM() { 13 | return new TheVM(oopForTheVM); 14 | } 15 | 16 | TheVM* setTheVM(int vmOop) { 17 | oopForTheVM = vmOop; 18 | return theVM(); 19 | } 20 | 21 | Universe* TheVM::universe() { 22 | return new Universe( contentsOfSlotNamed("universe") ); 23 | } 24 | 25 | bool notyet = true; 26 | 27 | void startSmallSelf() { 28 | printf("Haha! We started smallSelf.\n"); 29 | Verifier v; 30 | while (notyet) {} 31 | theVM()->universe()->verify(&v); 32 | //TODO: get the Self method to run and run it. 33 | } 34 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/theVM.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_THE_VM_H 2 | # define KLEIN_THE_VM_H 3 | 4 | # include "kleinObject.hh" 5 | 6 | class Universe; 7 | 8 | class TheVM : public KleinObject { 9 | public: 10 | TheVM(Oop oop) : KleinObject(oop) {} 11 | Universe* universe(); 12 | }; 13 | 14 | TheVM* theVM(); 15 | 16 | 17 | # endif // KLEIN_THE_VM_H 18 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/universe.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_UNIVERSE_H 2 | # define KLEIN_UNIVERSE_H 3 | 4 | # include "kleinObject.hh" 5 | 6 | class NewGeneration; 7 | class Verifier; 8 | 9 | class Universe : public KleinObject { 10 | public: 11 | Universe(Oop oop) : KleinObject(oop) {} 12 | 13 | NewGeneration* newGeneration(); 14 | 15 | BPRef allocateBytes(int nBytes); 16 | Address allocateOops (int nOops ); 17 | 18 | bool isBytesPartAddressInBounds(Address bpAddr); 19 | bool isObjectAddressInBounds (Address addr); 20 | 21 | void verify(Verifier* aVerifier); 22 | private: 23 | void verifyCanonicalizedStrings(Verifier* aVerifier); 24 | void verifyGenerations (Verifier* aVerifier); 25 | }; 26 | 27 | # endif // KLEIN_UNIVERSE_H 28 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/verifier.cpp: -------------------------------------------------------------------------------- 1 | # include "verifier.hh" 2 | 3 | void Verifier::always_assert(bool b, char* msg) { 4 | if (!b) throwException(msg); 5 | } 6 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/verifier.hh: -------------------------------------------------------------------------------- 1 | # ifndef KLEIN_VERIFIER_H 2 | # define KLEIN_VERIFIER_H 3 | 4 | # include "base.hh" 5 | 6 | class Verifier { 7 | public: 8 | void always_assert( bool b, char* msg ); 9 | }; 10 | 11 | # endif // KLEIN_VERIFIER_H 12 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/misc/wordLayout.cpp: -------------------------------------------------------------------------------- 1 | # include "wordLayout.hh" 2 | 3 | FieldValue BitField :: allOnesValue() { return (1 << width()) - 1; } 4 | BitCount BitField :: shiftPast () { return shift() + width(); } 5 | intNN BitField :: mask () { return wordForValue( allOnesValue() ); } 6 | 7 | intNN BitField :: wordForValue(FieldValue v) { return v << shift(); } 8 | 9 | intNN BitField :: inPlaceValueOfWord(intNN w ) { return w & mask(); } 10 | FieldValue BitField :: valueOfWord(intNN w ) { return inPlaceValueOfWord(w) >> shift(); } 11 | intNN BitField :: setValueOfWord(intNN w, FieldValue v) { return (w & (-1 - mask())) | wordForValue(v); } 12 | 13 | bool BitField :: doesWordHaveValue(intNN w, FieldValue v) { return valueOfWord(w) == v; } 14 | 15 | int BitField :: encodableNumberCount() { return (1 << width()) - 1; } 16 | FieldValue BitField :: valueMeaningUnencodable() { return encodableNumberCount(); } 17 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/objects/objectTable.cpp: -------------------------------------------------------------------------------- 1 | # include "objectTable.hh" 2 | # include "objVector.hh" 3 | 4 | ObjVectorObj* Object_Table::ot_addr; 5 | MemObj** Object_Table::base; 6 | fint Object_Table::size; 7 | int32 Object_Table::timestamp = 0; 8 | 9 | void Object_Table::initialize( ObjVectorObj* a ) { 10 | ot_addr = a; 11 | base = (MemObj**) a->indexable_addr(0); 12 | size = a->indexableSize(); 13 | } 14 | 15 | // todo optimize time: Could just keep lastInvalidEntry as a C++ variable, but then we'd have to make sure to update the slot 16 | // in the objectLocator object whenever necessary. -- Adam, 5/06 17 | // optimization: bypass the write barrier 18 | oop_t Object_Table:: lastInvalidEntry( ) { return ot_addr->read_oop(lastInvalidEntry_offset); } 19 | void Object_Table::record_lastInvalidEntry(oop_t o) { ++timestamp; *(ot_addr->oop_addr(lastInvalidEntry_offset)) = o; } 20 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/objects/stringObj.hh: -------------------------------------------------------------------------------- 1 | # ifndef STRINGOBJ_HH 2 | # define STRINGOBJ_HH 3 | 4 | # include "byteVector.hh" 5 | 6 | class StringObj : public ByteVectorObj { 7 | public: 8 | static StringObj* from(oop_t s) { return (StringObj*) ByteVectorObj::from(s); } 9 | 10 | static oop_t slow_intern(char* cString); // does a simple linear search through the entire vector 11 | static oop_t intern(char* cString, int length = -1); // does a hash lookup; cannot be used until The is initialized 12 | 13 | smi hash_for_comparison(); 14 | }; 15 | 16 | 17 | # endif // STRINGOBJ_HH -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/runtime/asserts.cpp: -------------------------------------------------------------------------------- 1 | # include 2 | # include "asserts.hh" 3 | 4 | void fatal_handler( char* file, int line, char* msg) { 5 | error_printf_and_flush("fatal %s:%d %s", file, line, msg); 6 | abort(); 7 | } 8 | 9 | 10 | void untested_handler( char* file, int line, char* msg) { 11 | error_printf_and_flush("untested %s:%d %s", file, line, msg); 12 | } 13 | 14 | 15 | void unimplemented_handler( char* file, int line, char* msg) { 16 | error_printf_and_flush("unimplemented %s:%d %s", file, line, msg); 17 | abort(); 18 | } -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/runtime/asserts.hh: -------------------------------------------------------------------------------- 1 | # ifndef ASSERTS_HH 2 | # define ASSERTS_HH 3 | 4 | // $Revision: 1.7 $ 5 | 6 | void fatal_handler(char* file, int line, char* msg); 7 | void untested_handler(char* file, int line, char* msg); 8 | void unimplemented_handler(char* file, int line, char* msg); 9 | 10 | # define fatal(msg) fatal_handler(__FILE__, __LINE__, msg) 11 | 12 | # define untested(foo) \ 13 | untested_handler(__FILE__, __LINE__, #foo ) 14 | 15 | # define unimplemented(foo) \ 16 | unimplemented_handler(__FILE__, __LINE__, foo ) 17 | 18 | # define UNTESTED_case(foo) \ 19 | case foo: \ 20 | untested(foo); 21 | 22 | # define assert(b) if (!(b)) fatal("assertion failed"); else {} 23 | 24 | inline int assert_bounds(int i, int size) { assert( 0 <= i && i < size ); return i; } 25 | 26 | void error_printf_and_flush(char*, ...); 27 | void printf_and_flush(char*, ...); 28 | 29 | 30 | 31 | # endif ASSERTS_HH 32 | -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/runtime/small_self_types.hh: -------------------------------------------------------------------------------- 1 | # ifndef SMALL_SELF_TYPES_HH 2 | # define SMALL_SELF_TYPES_YY 3 | 4 | // Whatever is fastest on this machine 5 | typedef int fint; 6 | typedef unsigned int u_fint; 7 | 8 | typedef int int32; 9 | typedef unsigned int u_int32; 10 | 11 | typedef short int16; 12 | typedef unsigned short u_int16; 13 | 14 | # if OOP_SIZE == 16 15 | typedef int16 smi; 16 | typedef u_int16 u_smi; 17 | # elif OOP_SIZE == 32 18 | typedef int32 smi; 19 | typedef u_int32 u_smi; 20 | # else 21 | # error Oop_Size? 22 | # endif 23 | 24 | 25 | typedef smi oop_t; 26 | 27 | 28 | # ifndef NULL 29 | # define NULL 0 30 | # endif 31 | 32 | # endif // SMALL_SELF_TYPES_HH -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/runtime/utils.cpp: -------------------------------------------------------------------------------- 1 | # include "utils.hh" 2 | # include "small_self_types.hh" 3 | 4 | // todo cleanup use standard libaries from here 5 | 6 | bool is_id_alpha( char c ) { 7 | // todo optimize could use a character table lookup -- dmu 8 | return 'a' <= c && c <= 'z' 9 | || 'A' <= c && c <= 'Z' 10 | || c == '_'; 11 | } 12 | 13 | int length_of_C_string( char* s ) { 14 | int i = 0; 15 | for ( char* c = s; *c != '\0'; ++c) 16 | ++i; 17 | return i; 18 | } 19 | 20 | 21 | int arg_count_of_string( char* s, int len ) { 22 | char c = *s; 23 | 24 | if ( !is_id_alpha(c) ) return 1; 25 | 26 | if ( s[ len - 1 ] != ':' ) return 0; // an optimization 27 | 28 | fint argc = 1; 29 | for ( const char* ss = s + len - 3; // last is :, next-to-last is alpha 30 | ss > s; // do not need to look at first one 31 | --ss ) 32 | if (*ss == ':') ++argc; 33 | 34 | return argc; 35 | } -------------------------------------------------------------------------------- /klein_C_code/src/smallVM/runtime/utils.hh: -------------------------------------------------------------------------------- 1 | # ifndef UTILS_HH 2 | # define UTILS_HH 3 | 4 | inline unsigned int max(unsigned int a, unsigned int b) { return a > b ? a : b; } 5 | inline unsigned int min(unsigned int a, unsigned int b) { return a < b ? a : b; } 6 | 7 | inline int divide_and_round_up(int n, int modulus) { return ( n + ( modulus - 1) ) / modulus; } 8 | 9 | int length_of_C_string( char* s ); 10 | int arg_count_of_string( char* s, int len ); 11 | 12 | # endif // UTILS_HH -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 1.1.1.1 $ 2 | 3 | # Copyright 1994-2003 Sun Microsystems, Inc. and Stanford University. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../.. 7 | FILES = Makefile 8 | DIRECTORIES = unixDebugServer 9 | include ${ROOT}/templates/sources.make 10 | -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 1.1.1.1 $ 2 | 3 | # Copyright 1994-2003 Sun Microsystems, Inc. and Stanford University. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../.. 7 | FILES = Makefile 8 | DIRECTORIES = unixDebugServer.pbproj 9 | include ${ROOT}/templates/sources.make 10 | -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/Headermaps/unixDebugServer.hmap: -------------------------------------------------------------------------------- 1 | hmap@ -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/Objects/LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/ungar/self/bin/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/master.o 2 | -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/Objects/LinkFileListPrelink: -------------------------------------------------------------------------------- 1 | /Users/ungar/self/bin/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/Objects/ppc/unixDebugServer.o 2 | -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.build/Objects-normal/LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/ungar/self/bin/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.build/Objects-normal/ppc/unixDebugServer.o 2 | -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.build/unixDebugServer.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.build/unixDebugServer.hmap -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/categories.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/categories.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/cdecls.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/cdecls.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/decls.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/decls.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/files.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/files.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/imports.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/imports.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/pbxindex.header: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/pbxindex.header -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/protocols.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/protocols.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/refs.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/refs.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/strings.pbxstrings/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/strings.pbxstrings/control -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/strings.pbxstrings/strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/strings.pbxstrings/strings -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/subclasses.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/subclasses.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/symbols0.pbxsymbols: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.build/unixDebugServer.pbxindex/symbols0.pbxsymbols -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/categories.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/categories.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/decls.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/decls.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/files.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/files.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/imports.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/imports.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/pbxindex.header: -------------------------------------------------------------------------------- 1 | pinxX -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/protocols.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/protocols.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/refs.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/refs.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/strings.pbxstrings/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/strings.pbxstrings/control -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/subclasses.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/subclasses.pbxbtree -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/symbols0.pbxsymbols: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamSpitz/klein/b9f0d4a87313f261183eed73c9f383b7f4a39607/klein_C_code/xcode/attic/project_builder/unixDebugServer/build/intermediates/unixDebugServer.pbxindex/symbols0.pbxsymbols -------------------------------------------------------------------------------- /klein_C_code/xcode/attic/project_builder/unixDebugServer/unixDebugServer.pbproj/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 1.1.1.1 $ 2 | 3 | # Copyright 1994-2003 Sun Microsystems, Inc. and Stanford University. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile project.pbxproj ungar.pbxuser 8 | DIRECTORIES = unixDebugServer.pbproj 9 | include ${ROOT}/templates/sources.make 10 | -------------------------------------------------------------------------------- /objects/.cvsignore: -------------------------------------------------------------------------------- 1 | *.snap 2 | *.backup 3 | testAsm* 4 | a.out 5 | -------------------------------------------------------------------------------- /objects/applications/asmKit/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.6 $ 2 | 3 | # Copyright 1994-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../.. 7 | FILES = Makefile 8 | DIRECTORIES = asmFrame asmPPC asmSPARC 9 | SELF_MODULES = asmKit 10 | 11 | include ${ROOT}/templates/sources.make 12 | -------------------------------------------------------------------------------- /objects/applications/asmKit/asmFrame/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.10 $ 2 | 3 | # Copyright 1994-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | DIRECTORIES = 9 | SELF_MODULES = \ 10 | asmBitRange1 \ 11 | asmBitRange2 \ 12 | asmBitRange3 \ 13 | asmFrame \ 14 | asmFrame2 \ 15 | asmFrame3 \ 16 | asmFrame4 \ 17 | asmFrame5 \ 18 | asmFrameAbsGen \ 19 | asmFrameGens \ 20 | asmFrameRegs \ 21 | asmFrameTemps1 \ 22 | asmFrameTemps2 \ 23 | 24 | include ${ROOT}/templates/sources.make 25 | -------------------------------------------------------------------------------- /objects/applications/asmKit/asmPPC/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.6 $ 2 | 3 | # Copyright 1994-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | DIRECTORIES = 9 | SELF_MODULES = \ 10 | asmPPC \ 11 | asmPPCBitRange \ 12 | asmPPCGens \ 13 | asmPPCReg1 \ 14 | asmPPCReg2 \ 15 | asmPPCReg3 \ 16 | 17 | 18 | include ${ROOT}/templates/sources.make 19 | -------------------------------------------------------------------------------- /objects/applications/asmKit/asmSPARC/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.5 $ 2 | 3 | # Copyright 1994-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | DIRECTORIES = 9 | SELF_MODULES = \ 10 | asmSPARC \ 11 | asmSPARCBitRange \ 12 | asmSPARCGens \ 13 | 14 | 15 | include ${ROOT}/templates/sources.make 16 | -------------------------------------------------------------------------------- /objects/applications/asmKit/oasmSPARC/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.5 $ 2 | 3 | # Copyright 1994-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | DIRECTORIES = 9 | SELF_MODULES = \ 10 | asmSPARC \ 11 | asmSPARCBitRange \ 12 | asmSPARCGens \ 13 | 14 | 15 | include ${ROOT}/templates/sources.make 16 | -------------------------------------------------------------------------------- /objects/applications/klein/foreignPrograms/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.6 $ 2 | 3 | # Copyright 1999-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | SELF_MODULES = 9 | DIRECTORIES = 10 | 11 | include ${ROOT}/templates/sources.make 12 | -------------------------------------------------------------------------------- /objects/applications/klein/foreignPrograms/ppc/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.6 $ 2 | 3 | # Copyright 1999-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../../.. 7 | FILES = Makefile 8 | SELF_MODULES = 9 | 10 | include ${ROOT}/templates/sources.make 11 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.7 $ 2 | 3 | # Copyright 1999-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | 9 | SELF_MODULES = \ 10 | allJavaParser \ 11 | classNodeSum \ 12 | classOrIntNodeSum \ 13 | compUnitNodeSum \ 14 | impOrPkgDclNodeSum \ 15 | importDclNodeSum \ 16 | intNodeSum \ 17 | javaLexer \ 18 | javaMinis \ 19 | javaNodeSummaries \ 20 | javaParseNodes \ 21 | javaParser \ 22 | javaParserTester \ 23 | methOrConNodeSum \ 24 | packageDclNodeSum \ 25 | varDclNodeSum \ 26 | 27 | DIRECTORIES = tests 28 | 29 | include ${ROOT}/templates/sources.make 30 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/arrayInit1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo = {5, {3, 4}}; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/arrayInit2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo = {5, }; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/arrayInit3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo = {5, 34 ; 23}; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/blockDcl1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static { int a; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/blockDcl2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static { final int a; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/break1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | break 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/break2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | break 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/break3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | break ; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/break4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | break snort 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/break5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | break snort ; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/case1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { switch (23) { case } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/case2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { switch (23) { case : } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/case3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { switch (23) { case 23 } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/case4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { switch (23) { case 23 : } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/class1.java: -------------------------------------------------------------------------------- 1 | class 23 {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/class2.java: -------------------------------------------------------------------------------- 1 | class a.b extends c.d {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/class3.java: -------------------------------------------------------------------------------- 1 | class a extends c.d implements x, y.z {} 2 | interface b extends c.d, e.f {} 3 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/class4.java: -------------------------------------------------------------------------------- 1 | class a extends c.d implements x, y.z 3 * 4 {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/class5.java: -------------------------------------------------------------------------------- 1 | class me ; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/class6.java: -------------------------------------------------------------------------------- 1 | class simple {} 2 | interface simple {} 3 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/constructor1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b() {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/constructor2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b() ; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/cont1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | continue 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/cont2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | continue 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/cont3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | continue ; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/cont4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | continue snort 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/cont5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { 3 | continue snort ; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/dclInBlock.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int snort() { 3 | long foo; 4 | b.c blat = 3; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/default1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { switch (23) { default } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/default2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() { switch (23) { default: } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do ; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do ; while 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do ; while 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do ; while ( 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do ; while ( 23 ) 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/do8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | do ; while ( 23 ) ; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/emptyFile.java: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/emptyStmt1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static { ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/emptyStmt2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | ; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/emptyStmt3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static { private ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a += ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ?) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ? b) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ? b 23) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ? b :) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ? b : snort) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ? ? b : snort) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ? ? b : snort : bar) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr1_8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a ?x ? b : snort : bar) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a += -= d) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr2_1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (3 instanceof schlep) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr2_2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (3 instanceof ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr2_3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (3 instanceof 23) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ( a += c -= d) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (++) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_10.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).snort(3)) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_11.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).this) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_12.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).super) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_13.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).super(12)) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_14.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).super 23) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_15.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).super.) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_16.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).super.snort) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_17.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).super.snort(gar)) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_18.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).new) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_19.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).new dribble) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (--foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_20.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).new dribble(foo)) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_21.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).new dribble(foo) {int a; }) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_22.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3)++) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (!~foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((snort)foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((snort)+foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((int.class)+foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((int)foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).foo) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/expr3_9.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((3).) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/exprStmt1.java: -------------------------------------------------------------------------------- 1 | class x { 2 | y z() { 3 | 234 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/exprStmt2.java: -------------------------------------------------------------------------------- 1 | class x { 2 | y z() { 3 | 234; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/extends1.java: -------------------------------------------------------------------------------- 1 | class a extends b, c {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/extends2.java: -------------------------------------------------------------------------------- 1 | class a extends {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for10.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( 12, 13; ; ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for11.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( 12, 13; if ; ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for12.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( 12, 13; 14 ; ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for13.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( 12, 13; 14 ; 15) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for14.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( 12, 13; 14 ; 15, ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for15.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( 12, 13; 14 ; 15, 16) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for2.java: -------------------------------------------------------------------------------- 1 | 2 | class a { 3 | b c() { 4 | for ; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for3.java: -------------------------------------------------------------------------------- 1 | 2 | class a { 3 | b c() { 4 | for 23 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for4.java: -------------------------------------------------------------------------------- 1 | 2 | class a { 3 | b c() { 4 | for () 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( ; ) 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( ; ; ) 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( ; ; ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( int foo = 12; ; ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/for9.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | for ( int foo = 12, 13; ; ) 4 | 23; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | a.b snort(c.d e.f, foo bar) {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | private int snort( g.c x y) {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | a.b snort(c.d e, foo bar) {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo(snort 34) {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo(snort) {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | foo bar(snort frap, 23) ; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/formal7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | private b.c gorp(int a, ) {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if10.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 ) 32 ; else {} } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if11.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | if ( 23 ) 4 | if (2) 3 5 | else 4 ; 6 | else {} } 7 | } 8 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if12.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | if ( 23 ) 4 | if (2) 3 ; 5 | else 4 ; 6 | else {} } 7 | } 8 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 ) } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 ) else } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 ) 32 } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 ) 32 ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/if9.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { if ( 23 ) 32 ; else } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/implementsComma.java: -------------------------------------------------------------------------------- 1 | class a extends c.d implements x, {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/import1.java: -------------------------------------------------------------------------------- 1 | import snort {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/import2.java: -------------------------------------------------------------------------------- 1 | import a; 2 | ; 3 | import b; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/import3.java: -------------------------------------------------------------------------------- 1 | import a; 2 | package b; 3 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/intConstructor.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int() {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/interface1.java: -------------------------------------------------------------------------------- 1 | interface snort { 2 | int foo(); 3 | final int snort = 3; 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/interface2.java: -------------------------------------------------------------------------------- 1 | interface foo { 2 | int snort() { } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/interface3.java: -------------------------------------------------------------------------------- 1 | interface sludge { 2 | gunk a1 = 23, frob = 5; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/interface4.java: -------------------------------------------------------------------------------- 1 | interface snort { 2 | static {a = 3;} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/ivar.java: -------------------------------------------------------------------------------- 1 | class a { 2 | private static a.b.c snort; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/justTry.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int a() {try} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/label1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { foo 3; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/label2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { foo: {}; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/label3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { foo: bar: {}; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/lexer1.java: -------------------------------------------------------------------------------- 1 | /* in one line */ 2 | /* across lines 3 | more */ 4 | /* this comment /* // /** ends here: */ 5 | 6 | class test { 7 | int foo() { 8 | int a = "Aa \b \t \n \f \r \\ \" \' \0 \7 \12 \321"; 9 | int b[] = {.123 .12e2 .12E-3 0.123 10 | .123f .12e2F .12E-3d 0.123D 11 | 0.123E4 0.123e-5 12 | 0 13 | 123 14 | 0x123 15 | 0123 16 | 13l 17 | 0xaL 18 | 012l 19 | 123.456 20 | 123.456e6 21 | 123.456e-6 22 | 12.3 23 | 17e+2}; 24 | 25 | 26 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/lexer2.java: -------------------------------------------------------------------------------- 1 | @ 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/method1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | public int snort() {} 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/mismatchedBracket.java: -------------------------------------------------------------------------------- 1 | { 2 | foobar 3 | (snort) 4 | ] 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/missingAttr1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | private long ; 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/missingAttr2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | private foo ; 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/missingInit.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo = ; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/nestedBlock1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static { {;} } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/nestedBlock2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static { static {} } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/noNameStmt.java: -------------------------------------------------------------------------------- 1 | class a { 2 | public int ; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/noTryBlock.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { 3 | try 23; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package1.java: -------------------------------------------------------------------------------- 1 | package 23; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package2.java: -------------------------------------------------------------------------------- 1 | package a; 2 | import b; 3 | import b.c; 4 | import b.c.*; 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package3.java: -------------------------------------------------------------------------------- 1 | package snort {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package4.java: -------------------------------------------------------------------------------- 1 | package foo.; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package5.java: -------------------------------------------------------------------------------- 1 | package a.b 34; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package6.java: -------------------------------------------------------------------------------- 1 | package ; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package7.java: -------------------------------------------------------------------------------- 1 | package a; 2 | package b; 3 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/package8.java: -------------------------------------------------------------------------------- 1 | package * ; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/plusFn.java: -------------------------------------------------------------------------------- 1 | class a { 2 | public Foo +() {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while () ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim10.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (this) this(true , false, null ) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim11.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim12.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super()) super(12) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim13.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super.) super(12) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim14.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super.23) 3 | super(12) ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim15.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super . 23) 3 | super(12) ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim16.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super . foo) 3 | super(12) ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim17.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super . foo 23) 3 | super(12) ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim18.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (super . foo()) 3 | super(12) ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim19.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (23) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim20.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim21.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new fred) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim22.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new fred.) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim23.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new fred.bob) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim24.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new fred.bob()) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim25.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new fred.bob(1, 2)) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim26.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new fred.bob(1, 2) {}) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim27.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int() ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim28.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[] ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim29.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[3] ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while ((23.34)) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim30.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[3][] ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim31.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[3][4] ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim32.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[][] ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim33.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[][]{2, 3} ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim34.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (new int[][]{2, 3}[] ) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim35.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (nort) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim36.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim37.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar()) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim38.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar[34]) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim39.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar[]) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (()) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim40.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar[].) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim41.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar[][].class) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim42.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.class) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim43.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.this) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim44.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.super(foo)) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim45.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.super) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim46.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.new) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim47.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.new foo.bar) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim48.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (snort.bar.new foo) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim49.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (int) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (( do)) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim50.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (int 23) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim51.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (int[]) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim52.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (int[3].class) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim53.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (int.class) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim54.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (int[][].class) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim55.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (void) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim56.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (void 23) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim57.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (void.) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim58.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (void.23) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim59.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (void.class) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (this) this() ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim60.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (void.class 23) 3 | ; } 4 | } 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (this) this('a') ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (this) this("b" 23) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prim9.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { while (this) this(true , ) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prototype1.java: -------------------------------------------------------------------------------- 1 | prototype; 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/prototype2.java: -------------------------------------------------------------------------------- 1 | static final prototype snort {} 2 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/qualifiedConstructor.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b.c() {} 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/arrayInit1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | varDclsStatement 8 | basicType int 9 | variableDeclarator foo = 10 | arrayInitializer { 11 | scalarInitializer 5 , 12 | arrayInitializer { 13 | scalarInitializer 3 , 14 | scalarInitializer 4 } } ; } 15 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/arrayInit2: -------------------------------------------------------------------------------- 1 | expected expression after `,' at: [15@2, 15@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/arrayInit3: -------------------------------------------------------------------------------- 1 | expected comma in array initializer instead of `;' at: [20@2, 20@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/blockDcl1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | staticInitializer static 8 | block { 9 | varDclsStatement 10 | basicType int 11 | variableDeclarator a ; } } 12 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/blockDcl2: -------------------------------------------------------------------------------- 1 | Statement in block should not have modifiers `final' at: [11@2, 15@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/break1: -------------------------------------------------------------------------------- 1 | No semicolon or identifier after `break' at: [4@3, 8@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/break2: -------------------------------------------------------------------------------- 1 | Expected semicolon or identifier instead of `23' at: [10@3, 11@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/break3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName a 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | breakStatement break ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/break4: -------------------------------------------------------------------------------- 1 | Expected semicolon after `snort' at: [10@3, 14@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/break5: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName a 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | breakStatement break snort ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/case1: -------------------------------------------------------------------------------- 1 | expression expected after `case' at: [26@2, 29@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/case2: -------------------------------------------------------------------------------- 1 | expression expected after `case' at: [26@2, 29@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/case3: -------------------------------------------------------------------------------- 1 | No colon found after `case 23' at: [26@2, 32@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/case4: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName a 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | switchStatement switch 14 | parenList ( 23 ) 15 | switchBlock { 16 | caseLabel case 23 : } } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/class1: -------------------------------------------------------------------------------- 1 | Could not find class name identifer after `class' at: [1@1, 5@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/class2: -------------------------------------------------------------------------------- 1 | Unparsable junk in class declaration `.b extends c.d' at: [8@1, 21@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/class3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass extends 5 | classOrInterfaceName c . d 6 | implementsInterfaces implements 7 | classOrInterfaceName x 8 | classOrInterfaceName y . z 9 | classBody { } 10 | interfaceDcl interface b 11 | extendsInterfaces extends 12 | classOrInterfaceName c . d 13 | classOrInterfaceName e . f 14 | interfaceBody { } 15 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/class4: -------------------------------------------------------------------------------- 1 | Unparsable junk in class declaration `3 * 4' at: [39@1, 43@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/class5: -------------------------------------------------------------------------------- 1 | Could not find curly braces at end of class or interface declaration `class me ;' at: [1@1, 10@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/class6: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class simple 4 | extendsClass 5 | implementsInterfaces 6 | classBody { } 7 | interfaceDcl interface simple 8 | extendsInterfaces 9 | interfaceBody { } 10 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/constructor1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | constructorDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName b 11 | formalParameterList ( ) 12 | throws 13 | block { } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/constructor2: -------------------------------------------------------------------------------- 1 | constructor body must be a real block, not a semicolon `;' at: [7@2, 7@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/cont1: -------------------------------------------------------------------------------- 1 | No semicolon or identifier after `continue' at: [4@3, 11@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/cont2: -------------------------------------------------------------------------------- 1 | Expected semicolon or identifier instead of `23' at: [13@3, 14@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/cont3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName a 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | continueStatement continue ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/cont4: -------------------------------------------------------------------------------- 1 | Expected semicolon after `snort' at: [13@3, 17@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/cont5: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName a 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | continueStatement continue snort ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/dclInBlock: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName snort 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | varDclsStatement 14 | basicType long 15 | variableDeclarator foo ; 16 | varDclsStatement 17 | classOrInterfaceType 18 | nameNode b . c 19 | variableDeclarator blat = 20 | scalarInitializer 3 ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/default1: -------------------------------------------------------------------------------- 1 | No colon found after `default' at: [26@2, 32@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/default2: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName a 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | switchStatement switch 14 | parenList ( 23 ) 15 | switchBlock { 16 | defaultLabel default : } } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do1: -------------------------------------------------------------------------------- 1 | No statement after `do' at: [5@3, 6@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do2: -------------------------------------------------------------------------------- 1 | Expected `while' after `;' at: [8@3, 8@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do3: -------------------------------------------------------------------------------- 1 | Expected semicolon after `23' at: [8@3, 9@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do4: -------------------------------------------------------------------------------- 1 | expected ` ( expression ) ' after `while' at: [10@3, 14@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do5: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `23' at: [16@3, 17@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do6: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( 2 | }' at: [16@3, 3@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do7: -------------------------------------------------------------------------------- 1 | Expected semicolon after `( 23 )' at: [16@3, 21@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/do8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | doStatement do 15 | emptyStatement ; while 16 | parenList ( 23 ) ; } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/emptyFile: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/emptyStmt1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | staticInitializer static 8 | block { 9 | emptyStatement ; } } 10 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/emptyStmt2: -------------------------------------------------------------------------------- 1 | No result type found for `;' at: [1@2, 1@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/emptyStmt3: -------------------------------------------------------------------------------- 1 | Statement in block should not have modifiers `private' at: [11@2, 17@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" after `+=' at: [23@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_1: -------------------------------------------------------------------------------- 1 | Could not find colon to match with question mark `?' at: [23@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_2: -------------------------------------------------------------------------------- 1 | Could not find colon to match with question mark `?' at: [23@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_3: -------------------------------------------------------------------------------- 1 | Could not find colon to match with question mark `?' at: [23@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_4: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" after `:' at: [27@2, 27@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_5: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | expressionIf 16 | nameNode a ? 17 | nameNode b : 18 | nameNode snort ) 19 | emptyStatement ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_6: -------------------------------------------------------------------------------- 1 | Could not find colon to match with question mark `?' at: [23@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_7: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" instead of `?' at: [25@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr1_8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | expressionIf 16 | nameNode a ? 17 | expressionIf 18 | nameNode x ? 19 | nameNode b : 20 | nameNode snort : 21 | nameNode bar ) 22 | emptyStatement ; } } 23 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr2: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" instead of `-=' at: [26@2, 27@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr2_1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | infixExpression 3 instanceof 16 | classOrInterfaceType 17 | nameNode schlep ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr2_2: -------------------------------------------------------------------------------- 1 | Expected type after `instanceof' at: [22@2, 31@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr2_3: -------------------------------------------------------------------------------- 1 | Expected type after `instanceof' at: [22@2, 31@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | infixExpression 16 | nameNode a += 17 | infixExpression 18 | nameNode c -= 19 | nameNode d ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_1: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" after `++' at: [20@2, 21@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_10: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | messageSelector . snort 18 | argumentList ( 19 | argument 3 ) ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_11: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | fieldSelector . this ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_12: -------------------------------------------------------------------------------- 1 | Expected either arguments in parentheses or period after `super' at: [24@2, 28@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_13: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | messageSelector . super 18 | argumentList ( 19 | argument 12 ) ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_14: -------------------------------------------------------------------------------- 1 | Expected either arguments in parentheses or period instead of `23' at: [30@2, 31@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_15: -------------------------------------------------------------------------------- 1 | Expected identifier after `.' at: [29@2, 29@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_16: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | qualifiedSuperSelector . super . snort ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_17: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | qualifiedSuperInvocationSelector . super . snort 18 | argumentList ( 19 | argument 20 | nameNode gar ) ) 21 | emptyStatement ; } } 22 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_18: -------------------------------------------------------------------------------- 1 | Expected type after `new' at: [24@2, 26@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_19: -------------------------------------------------------------------------------- 1 | Expected arguments in parentheses after `dribble' at: [28@2, 34@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_2: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | prefixExpression -- 16 | nameNode foo ) 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_20: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | newInnerCreatorSelector . 18 | newInstance new 19 | classOrInterfaceType 20 | nameNode dribble 21 | argumentList ( 22 | argument 23 | nameNode foo ) ) 24 | emptyStatement ; } } 25 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_21: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | newInnerCreatorSelector . 18 | newInstanceOfAnon new 19 | classOrInterfaceType 20 | nameNode dribble 21 | argumentList ( 22 | argument 23 | nameNode foo ) 24 | classBody { 25 | varDclsStatement 26 | basicType int 27 | variableDeclarator a ; } ) 28 | emptyStatement ; } } 29 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_22: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) ++ ) 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | prefixExpression ! 16 | prefixExpression ~ 17 | nameNode foo ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_4: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | prefixExpression 16 | coersion ( 17 | classOrInterfaceType 18 | nameNode snort ) 19 | nameNode foo ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_5: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | infixExpression 16 | parenList ( 17 | nameNode snort ) + 18 | nameNode foo ) 19 | emptyStatement ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_6: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | infixExpression 16 | parenList ( 17 | dotClassType 18 | basicType int . class ) + 19 | nameNode foo ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_7: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | prefixExpression 16 | coersion ( 17 | basicType int ) 18 | nameNode foo ) 19 | emptyStatement ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | postfixExpression 16 | parenList ( 3 ) 17 | fieldSelector . foo ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/expr3_9: -------------------------------------------------------------------------------- 1 | Expected identifier, `this', `super', or `new' after `.' at: [23@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/exprStmt1: -------------------------------------------------------------------------------- 1 | Expected semicolon after `234' at: [5@3, 7@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/exprStmt2: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class x 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode y 10 | attributeName z 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | expressionStatement 234 ; } } 15 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/extends1: -------------------------------------------------------------------------------- 1 | Unparsable junk in class declaration `, c' at: [18@1, 20@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/extends2: -------------------------------------------------------------------------------- 1 | Missing identifier in name after `extends' at: [9@1, 15@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for1: -------------------------------------------------------------------------------- 1 | expected open parenthesis after `for' at: [5@3, 7@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for10: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | forStatement for 15 | forParenList ( 16 | forInit 17 | statementExpressionList 12 , 13 ; 18 | forCond ; ) 19 | expressionStatement 23 ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for11: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" instead of `if' at: [19@3, 20@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for12: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | forStatement for 15 | forParenList ( 16 | forInit 17 | statementExpressionList 12 , 13 ; 18 | forCond 14 ; ) 19 | expressionStatement 23 ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for13: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | forStatement for 15 | forParenList ( 16 | forInit 17 | statementExpressionList 12 , 13 ; 18 | forCond 14 ; 19 | forUpdate 20 | statementExpressionList 15 ) 21 | expressionStatement 23 ; } } 22 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for14: -------------------------------------------------------------------------------- 1 | expression expected after `,' at: [26@3, 26@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for15: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | forStatement for 15 | forParenList ( 16 | forInit 17 | statementExpressionList 12 , 13 ; 18 | forCond 14 ; 19 | forUpdate 20 | statementExpressionList 15 , 16 ) 21 | expressionStatement 23 ; } } 22 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for2: -------------------------------------------------------------------------------- 1 | expected open parenthesis after `for' at: [5@4, 7@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for3: -------------------------------------------------------------------------------- 1 | expected open parenthesis after `for' at: [5@4, 7@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for4: -------------------------------------------------------------------------------- 1 | Missing semicolon in for statement after `(' at: [9@4, 9@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for5: -------------------------------------------------------------------------------- 1 | Missing semicolon in for statement after `;' at: [11@3, 11@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for6: -------------------------------------------------------------------------------- 1 | Expected statement to iterate in for-statement after `( ; ; )' at: [9@3, 15@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for7: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | forStatement for 15 | forParenList ( 16 | forInit ; 17 | forCond ; ) 18 | expressionStatement 23 ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | forStatement for 15 | forParenList ( 16 | forInit 17 | varDclsStatement 18 | basicType int 19 | variableDeclarator foo = 20 | scalarInitializer 12 ; 21 | forCond ; ) 22 | expressionStatement 23 ; } } 23 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/for9: -------------------------------------------------------------------------------- 1 | Expected identifier after `,' at: [23@3, 23@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal1: -------------------------------------------------------------------------------- 1 | Just parsed a formal parameter so this should have been a comma `.' at: [17@2, 17@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal2: -------------------------------------------------------------------------------- 1 | Just parsed a formal parameter so this should have been a comma `y' at: [28@2, 28@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode a . b 10 | attributeName snort 11 | formalParameterList ( 12 | formalParameter 13 | classOrInterfaceType 14 | nameNode c . d e , 15 | formalParameter 16 | classOrInterfaceType 17 | nameNode foo bar ) 18 | throws 19 | block { } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal4: -------------------------------------------------------------------------------- 1 | formal paramater name must be an identifier `34' at: [17@2, 18@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal5: -------------------------------------------------------------------------------- 1 | no formal paramater name found after its type `snort' at: [11@2, 15@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal6: -------------------------------------------------------------------------------- 1 | Expected a type such as int or class-name, but found `23' at: [23@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/formal7: -------------------------------------------------------------------------------- 1 | missing type after `,' at: [25@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if1: -------------------------------------------------------------------------------- 1 | expected ` ( expression ) ' after `if' at: [11@2, 12@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if10: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | ifStatement if 15 | parenList ( 23 ) 16 | expressionStatement 32 ; else 17 | blockStatement 18 | block { } } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if11: -------------------------------------------------------------------------------- 1 | Extra junk found in statement `else' at: [7@5, 10@5] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if12: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | ifStatement if 15 | parenList ( 23 ) 16 | ifStatement if 17 | parenList ( 2 ) 18 | expressionStatement 3 ; else 19 | expressionStatement 4 ; else 20 | blockStatement 21 | block { } } } 22 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if2: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `;' at: [14@2, 14@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if3: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( }' at: [14@2, 16@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if4: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( 23 }' at: [14@2, 19@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if5: -------------------------------------------------------------------------------- 1 | Expected {, ;, expression, switch, do, break, continue, return, throw or try after `( 23 )' at: [14@2, 19@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if6: -------------------------------------------------------------------------------- 1 | Expected {, ;, expression, switch, do, break, continue, return, throw or try instead of `else' at: [21@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if7: -------------------------------------------------------------------------------- 1 | Expected semicolon after `32' at: [21@2, 22@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | ifStatement if 15 | parenList ( 23 ) 16 | expressionStatement 32 ; } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/if9: -------------------------------------------------------------------------------- 1 | Expected {, ;, expression, switch, do, break, continue, return, throw or try after `else' at: [26@2, 29@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/implementsComma: -------------------------------------------------------------------------------- 1 | Missing identifier in name after `,' at: [33@1, 33@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/import1: -------------------------------------------------------------------------------- 1 | package or import statement must end with semicolon `import snort' at: [1@1, 12@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/import2: -------------------------------------------------------------------------------- 1 | no more import statements expected `import b;' at: [1@3, 9@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/import3: -------------------------------------------------------------------------------- 1 | no more package statements expected `package b;' at: [1@2, 10@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/intConstructor: -------------------------------------------------------------------------------- 1 | constructor must be a class or interface type `int' at: [3@2, 5@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/interface1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | interfaceDcl interface snort 4 | extendsInterfaces 5 | interfaceBody { 6 | methodDcl 7 | basicType int 8 | attributeName foo 9 | formalParameterList ( ) 10 | throws ; 11 | varDclsStatement 12 | modifiers final 13 | basicType int 14 | variableDeclarator snort = 15 | scalarInitializer 3 ; } 16 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/interface2: -------------------------------------------------------------------------------- 1 | method declaration in interface must be abstract and have ";" instead of `{ }' at: [15@2, 18@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/interface3: -------------------------------------------------------------------------------- 1 | variable declaration in interface must be constant but has no "final" modifier `gunk a1 = 23, frob = 5;' at: [3@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/interface4: -------------------------------------------------------------------------------- 1 | No result type found for `{a = 3;}' at: [10@2, 17@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/ivar: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | varDclsStatement 8 | modifiers private static 9 | classOrInterfaceType 10 | nameNode a . b . c 11 | variableDeclarator snort ; } 12 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/justTry: -------------------------------------------------------------------------------- 1 | Expected a block in curly brackets after `try' at: [12@2, 14@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/label1: -------------------------------------------------------------------------------- 1 | Extra junk found in statement `3' at: [14@2, 14@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/label2: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | blockStatement 15 | label foo : 16 | block { } 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/label3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | blockStatement 15 | label foo : 16 | label bar : 17 | block { } 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/lexer1: -------------------------------------------------------------------------------- 1 | unmatched open bracket `{ 2 | int a = "Aa \b \t \n \f \r \\ \" \' \0 \7 \12 \321"; 3 | int b[] = {.123 .12e2 .12E-3 0.123 4 | .123f .12e2F .12E-3d 0.123D 5 | 0.123E4 0.123e-5 6 | 0 7 | 123 8 | 0x123 9 | 0123 10 | 13l 11 | 0xaL 12 | 012l 13 | 123.456 14 | 123.456e6 15 | 123.456e-6 16 | 12.3 17 | 17e+2}; 18 | 19 | 20 | ' at: [13@7, 3@25] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/lexer2: -------------------------------------------------------------------------------- 1 | No possible token could start with `@ 2 | ' at: [1@1, 2@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/method1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | modifiers public 9 | basicType int 10 | attributeName snort 11 | formalParameterList ( ) 12 | throws 13 | block { } } 14 | emptyStatement ; 15 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/mismatchedBracket: -------------------------------------------------------------------------------- 1 | Opening `{' does not match closing `]' in `{ 2 | foobar 3 | (snort) 4 | ]' at: [1@1, 1@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/missingAttr1: -------------------------------------------------------------------------------- 1 | Missing attribute name after type `long' at: [11@2, 14@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/missingAttr2: -------------------------------------------------------------------------------- 1 | Missing attribute name after type `foo' at: [11@2, 13@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/missingInit: -------------------------------------------------------------------------------- 1 | no initialization expression found after `=' at: [11@2, 11@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/nestedBlock1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | staticInitializer static 8 | block { 9 | blockStatement 10 | block { 11 | emptyStatement ; } } } 12 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/nestedBlock2: -------------------------------------------------------------------------------- 1 | Statement in block should not have modifiers `static' at: [12@2, 17@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/noNameStmt: -------------------------------------------------------------------------------- 1 | Missing attribute name after type `int' at: [10@2, 12@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/noTryBlock: -------------------------------------------------------------------------------- 1 | Expected a block in curly brackets instead of `23' at: [8@3, 9@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package1: -------------------------------------------------------------------------------- 1 | Identifier expected in name `23' at: [9@1, 10@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package2: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | packageDcl package 4 | nameNode a ; 5 | importDcl import 6 | nameNode b ; 7 | importDcl import 8 | nameNode b . c ; 9 | importDcl import 10 | nameNode b . c . * ; 11 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package3: -------------------------------------------------------------------------------- 1 | package or import statement must end with semicolon `package snort' at: [1@1, 13@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package4: -------------------------------------------------------------------------------- 1 | unparsable junk found at end of package statement `.' at: [12@1, 12@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package5: -------------------------------------------------------------------------------- 1 | unparsable junk found at end of package statement `34' at: [13@1, 14@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package6: -------------------------------------------------------------------------------- 1 | Missing identifier in name after `package' at: [1@1, 7@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package7: -------------------------------------------------------------------------------- 1 | no more package statements expected `package b;' at: [1@2, 10@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/package8: -------------------------------------------------------------------------------- 1 | Identifier expected in name `*' at: [9@1, 9@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/plusFn: -------------------------------------------------------------------------------- 1 | Statement is not static initializer, constructor, method declaration, or variable declaration `public Foo +() {}' at: [3@2, 19@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim1: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `()' at: [19@2, 20@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim10: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( this ) 15 | expressionStatement 16 | thisInvocation this 17 | argumentList ( 18 | argument true , 19 | argument false , 20 | argument null ) ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim11: -------------------------------------------------------------------------------- 1 | Expected either a period or arguments in parentheses after `super' at: [20@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim12: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | superInvocation super 16 | argumentList ( ) ) 17 | expressionStatement 18 | superInvocation super 19 | argumentList ( 20 | argument 12 ) ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim13: -------------------------------------------------------------------------------- 1 | Expected identifier after `.' at: [25@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim14: -------------------------------------------------------------------------------- 1 | Expected either a period or arguments in parentheses instead of `.23' at: [25@2, 27@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim15: -------------------------------------------------------------------------------- 1 | Expected identifier instead of `23' at: [28@2, 29@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim16: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | superFieldAccess super foo ) 16 | expressionStatement 17 | superInvocation super 18 | argumentList ( 19 | argument 12 ) ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim17: -------------------------------------------------------------------------------- 1 | Extra junk found at end of expresion `23' at: [32@2, 33@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim18: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | superInvocation super foo 16 | argumentList ( ) ) 17 | expressionStatement 18 | superInvocation super 19 | argumentList ( 20 | argument 12 ) ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim19: -------------------------------------------------------------------------------- 1 | Expected type after `new' at: [20@2, 22@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim2: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 23 ) 15 | emptyStatement ; } } 16 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim20: -------------------------------------------------------------------------------- 1 | Primitive scalars cannot be dynamically created; expected `[ expression ]' after `new int' at: [20@2, 26@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim21: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newInstance new 16 | classOrInterfaceType 17 | nameNode fred ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim22: -------------------------------------------------------------------------------- 1 | Expected identifier, `this', `super', or `new' after `.' at: [28@2, 28@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim23: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newInstance new 16 | classOrInterfaceType 17 | nameNode fred . bob ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim24: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newInstance new 16 | classOrInterfaceType 17 | nameNode fred . bob 18 | argumentList ( ) ) 19 | emptyStatement ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim25: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newInstance new 16 | classOrInterfaceType 17 | nameNode fred . bob 18 | argumentList ( 19 | argument 1 , 20 | argument 2 ) ) 21 | emptyStatement ; } } 22 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim26: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newInstanceOfAnon new 16 | classOrInterfaceType 17 | nameNode fred . bob 18 | argumentList ( 19 | argument 1 , 20 | argument 2 ) 21 | classBody { } ) 22 | emptyStatement ; } } 23 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim27: -------------------------------------------------------------------------------- 1 | Expected a class type instead of a primitive type `int' at: [24@2, 26@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim28: -------------------------------------------------------------------------------- 1 | Expected array initializer in curly braces after or expression within `[]' at: [27@2, 28@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim29: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newArray new 16 | basicType int 17 | dimensionExpression [ 3 ] ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | parenList ( 23.34 ) ) 16 | emptyStatement ; } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim30: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newArray new 16 | basicType int 17 | dimensionExpression [ 3 ] 18 | dimensionExpression [ ] ) 19 | emptyStatement ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim31: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newArray new 16 | basicType int 17 | dimensionExpression [ 3 ] 18 | dimensionExpression [ 4 ] ) 19 | emptyStatement ; } } 20 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim32: -------------------------------------------------------------------------------- 1 | Expected array initializer in curly braces after or expression within `[]' at: [29@2, 30@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim33: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | newArray new 16 | basicType int 17 | dimensionExpression [ ] 18 | dimensionExpression [ ] 19 | arrayInitializer { 20 | scalarInitializer 2 , 21 | scalarInitializer 3 } ) 22 | emptyStatement ; } } 23 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim34: -------------------------------------------------------------------------------- 1 | expression expected after `[' at: [37@2, 37@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim35: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | nameNode nort ) 16 | emptyStatement ; } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim36: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | nameNode snort . bar ) 16 | emptyStatement ; } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim37: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | methodInvocation 16 | nameNode snort . bar 17 | argumentList ( ) ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim38: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | arrayAccess 16 | nameNode snort . bar 17 | dimensionExpression [ 34 ] ) 18 | emptyStatement ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim39: -------------------------------------------------------------------------------- 1 | Expected expression inside or `.class' after `[]' at: [29@2, 30@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim4: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `()' at: [20@2, 21@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim40: -------------------------------------------------------------------------------- 1 | Expected expression inside or `.class' after `[]' at: [29@2, 30@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim41: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | dotClassType 16 | arrayClass 17 | nameNode snort . bar 18 | dimensionExpression [ ] 19 | dimensionExpression [ ] . class ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim42: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | dotClassType 16 | nameNode snort . bar . class ) 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim43: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | specialIDPrimary 16 | nameNode snort . bar . this ) 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim44: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | namedSuperInvocation 16 | nameNode snort . bar . super 17 | argumentList ( 18 | argument 19 | nameNode foo ) ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim45: -------------------------------------------------------------------------------- 1 | Expected arguments in parentheses after `super' at: [30@2, 34@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim46: -------------------------------------------------------------------------------- 1 | Expected type after `new' at: [30@2, 32@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim47: -------------------------------------------------------------------------------- 1 | Must be simple identifier instead of `foo.bar' at: [34@2, 40@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim48: -------------------------------------------------------------------------------- 1 | Expected arguments in parentheses after `foo' at: [34@2, 36@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim49: -------------------------------------------------------------------------------- 1 | `.class' expected after `int' at: [20@2, 22@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim5: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" instead of `do' at: [22@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim50: -------------------------------------------------------------------------------- 1 | `.class' expected instead of `23' at: [24@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim51: -------------------------------------------------------------------------------- 1 | `.class' expected after `int[]' at: [20@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim52: -------------------------------------------------------------------------------- 1 | [] should be empty `[3]' at: [23@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim53: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | dotClassType 16 | basicType int . class ) 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim54: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | dotClassType 16 | arrayType 17 | basicType int 18 | squareList [ ] 19 | squareList [ ] . class ) 20 | emptyStatement ; } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim55: -------------------------------------------------------------------------------- 1 | `.class' expected after `void' at: [20@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim56: -------------------------------------------------------------------------------- 1 | `.class' expected instead of `23' at: [25@2, 26@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim57: -------------------------------------------------------------------------------- 1 | `class' expected after `.' at: [24@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim58: -------------------------------------------------------------------------------- 1 | `.class' expected instead of `.23' at: [24@2, 26@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim59: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( 15 | dotClassType 16 | basicType void . class ) 17 | emptyStatement ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim6: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( this ) 15 | expressionStatement 16 | thisInvocation this 17 | argumentList ( ) ; } } 18 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim60: -------------------------------------------------------------------------------- 1 | Extra junk found at end of expresion `23' at: [31@2, 32@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim7: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | whileStatement while 14 | parenList ( this ) 15 | expressionStatement 16 | thisInvocation this 17 | argumentList ( 18 | argument 'a' ) ; } } 19 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim8: -------------------------------------------------------------------------------- 1 | Extra junk found at end of expresion `23' at: [35@2, 36@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prim9: -------------------------------------------------------------------------------- 1 | expression expected after `,' at: [36@2, 36@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prototype1: -------------------------------------------------------------------------------- 1 | no class or interface keyword found in type declaration before `prototype' at: [1@1, 9@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/prototype2: -------------------------------------------------------------------------------- 1 | no class or interface keyword found in type declaration before `prototype' at: [14@1, 22@1] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/qualifiedConstructor: -------------------------------------------------------------------------------- 1 | qualified names not allowed for constructors `b.c' at: [3@2, 5@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/return1: -------------------------------------------------------------------------------- 1 | no semicolon or expression found after `return' at: [13@2, 18@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/return2: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" instead of `return' at: [20@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/return3: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | returnStatement return ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/return4: -------------------------------------------------------------------------------- 1 | Extra junk found at end of expresion `3' at: [22@2, 22@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/return5: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | returnStatement return 2 ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/simpleInit: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | varDclsStatement 8 | basicType int 9 | variableDeclarator foo = 10 | scalarInitializer 5 ; } 11 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/staticInit1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | staticInitializer static 8 | block { } } 9 | emptyStatement ; 10 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/staticInit2: -------------------------------------------------------------------------------- 1 | This appears to be a static initializer but has more modifiers than just "static" `static private' at: [3@2, 16@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/staticInit3: -------------------------------------------------------------------------------- 1 | Expected a type such as int or class-name, but found `3' at: [10@2, 10@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/switch1: -------------------------------------------------------------------------------- 1 | No parenthesized expression found after `switch' at: [5@3, 10@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/switch2: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `23' at: [12@3, 13@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/switch3: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( 2 | }' at: [12@3, 3@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/switch4: -------------------------------------------------------------------------------- 1 | No block found in switch statement after `( 34 )' at: [12@3, 17@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/switch5: -------------------------------------------------------------------------------- 1 | Expected a block in curly braces instead of `foo' at: [19@3, 21@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/switch6: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | switchStatement switch 14 | parenList ( 34 ) 15 | switchBlock { } } } 16 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync1: -------------------------------------------------------------------------------- 1 | expected ` ( expression ) ' after `synchronized' at: [15@2, 26@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync2: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `23' at: [28@2, 29@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync3: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `( )' at: [28@2, 30@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync4: -------------------------------------------------------------------------------- 1 | Expected a parenthesized expression, "this", "super", a literal, "new", an identifier, a basic type, or "void" instead of `{}' at: [30@2, 31@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync5: -------------------------------------------------------------------------------- 1 | Extra junk found at end of expresion `4' at: [32@2, 32@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync6: -------------------------------------------------------------------------------- 1 | Expected a block in curly brackets instead of `;' at: [34@2, 34@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync7: -------------------------------------------------------------------------------- 1 | unmatched open bracket `{ 2 | int foo() { synchronized ( 3 ) { } 3 | } 4 | ' at: [9@1, 2@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/sync8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName foo 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | synchronizedStatement synchronized 14 | parenList ( 3 ) 15 | block { } } } 16 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throw1: -------------------------------------------------------------------------------- 1 | expression expected after `throw' at: [12@2, 16@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throw2: -------------------------------------------------------------------------------- 1 | expression expected after `throw' at: [12@2, 16@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throw3: -------------------------------------------------------------------------------- 1 | Extra junk found at end of expresion `barf' at: [21@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throw4: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | throwStatement throw 23 ; } } 14 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throws1: -------------------------------------------------------------------------------- 1 | Identifier expected in name `32' at: [20@2, 21@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throws2: -------------------------------------------------------------------------------- 1 | missing exception name after `throws' at: [13@2, 18@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/throws3: -------------------------------------------------------------------------------- 1 | missing exception name after `,' at: [23@2, 23@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/try1: -------------------------------------------------------------------------------- 1 | Expected exception parameter in parentheses after `catch' at: [20@2, 24@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/try2: -------------------------------------------------------------------------------- 1 | Expected exception parameter in parentheses instead of `{}' at: [24@2, 25@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/try3: -------------------------------------------------------------------------------- 1 | Expected a block in curly brackets after `(foobar up)' at: [26@2, 36@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/try4: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | tryStatement try 14 | block { } 15 | catchClause catch 16 | formalParameterList ( 17 | formalParameter 18 | classOrInterfaceType 19 | nameNode foobar up ) 20 | block { } } } 21 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/try5: -------------------------------------------------------------------------------- 1 | Expected a block in curly brackets after `finally' at: [41@2, 47@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/try6: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | basicType int 9 | attributeName b 10 | formalParameterList ( ) 11 | throws 12 | block { 13 | tryStatement try 14 | block { ( /*A*/ ) } 15 | catchClause catch 16 | formalParameterList ( 17 | formalParameter 18 | classOrInterfaceType 19 | nameNode foobar up ) 20 | block { ( /*B*/ ) } finally 21 | block { ( /*C*/ ) } } } 22 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/unmatched1: -------------------------------------------------------------------------------- 1 | closing bracket without an open `{ foo 2 | bar } 3 | ]' at: [1@1, 1@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/unmatched2: -------------------------------------------------------------------------------- 1 | unmatched open bracket `{ 2 | more stuff 3 | (yuk) 4 | foo 5 | ' at: [1@1, 4@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/unterminatedStatement: -------------------------------------------------------------------------------- 1 | Statement must end with either semicolon or curly braces `snort 2 | ' at: [1@3, 6@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/var1: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | varDclsStatement 8 | modifiers protected 9 | classOrInterfaceType 10 | nameNode c . d 11 | variableDeclarator foo , 12 | variableDeclarator bar , 13 | variableDeclarator baz ; } 14 | emptyStatement ; 15 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/var2: -------------------------------------------------------------------------------- 1 | Expected `;' in field declaration instead of `{}' at: [10@2, 11@2] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while1: -------------------------------------------------------------------------------- 1 | expected ` ( expression ) ' after `while' at: [5@3, 9@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while2: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( 2 | }' at: [11@3, 3@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while3: -------------------------------------------------------------------------------- 1 | Expected ` ( expression ) ' instead of `23' at: [11@3, 12@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while4: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( if 2 | }' at: [11@3, 3@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while5: -------------------------------------------------------------------------------- 1 | Opening `(' does not match closing `}' in `( 23 2 | }' at: [11@3, 3@4] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while6: -------------------------------------------------------------------------------- 1 | Expected {, ;, expression, switch, do, break, continue, return, throw or try after `( 23 )' at: [11@3, 16@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while7: -------------------------------------------------------------------------------- 1 | Expected semicolon after `12' at: [18@3, 19@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/while8: -------------------------------------------------------------------------------- 1 | 2 | compilationUnit 3 | classDcl class a 4 | extendsClass 5 | implementsInterfaces 6 | classBody { 7 | methodDcl 8 | classOrInterfaceType 9 | nameNode b 10 | attributeName c 11 | formalParameterList ( ) 12 | throws 13 | block { 14 | whileStatement while 15 | parenList ( 23 ) 16 | expressionStatement 12 ; } } 17 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/results/wrongFinally: -------------------------------------------------------------------------------- 1 | Expected `finally' instead of `23' at: [11@3, 12@3] -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/return1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { return } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/return2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { return return } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/return3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { return ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/return4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { return 2 3; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/return5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { return 2; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/simpleInit.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo = 5; 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/staticInit1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static {} 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/staticInit2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static private {} 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/staticInit3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | static 3 * 4 {} 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/switch1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { 3 | switch 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/switch2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { 3 | switch 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/switch3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { 3 | switch ( 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/switch4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { 3 | switch ( 34 ) 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/switch5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { 3 | switch ( 34 ) foo 4 | 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/switch6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { 3 | switch ( 34 ) { } 4 | 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized 23 ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized ( ) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized ( {} ) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized ( 3 4 ) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized ( 3 ) ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized ( 3 ) { } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/sync8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { synchronized ( 3 ) { } } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throw1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { throw } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throw2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { throw ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throw3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { throw 23 barf ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throw4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { throw 23 ; } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throws1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int snort() throws 32 {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throws2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int snort() throws {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/throws3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int snort() throws foo, {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/try1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { try {} catch } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/try2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { try {} catch {} } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/try3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { try {} catch (foobar up) } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/try4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { try {} catch (foobar up) {} } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/try5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { try {} catch (foobar up) {} finally } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/try6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int b() { try {/*A*/} catch (foobar up) {/*B*/} finally {/*C*/} } 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/unmatched1.java: -------------------------------------------------------------------------------- 1 | { foo 2 | bar } 3 | ] 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/unmatched2.java: -------------------------------------------------------------------------------- 1 | { 2 | more stuff 3 | (yuk) 4 | foo 5 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/unterminatedStatement.java: -------------------------------------------------------------------------------- 1 | foobar; 2 | grabowsky {} 3 | snort 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/var1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | protected c.d foo, bar, baz; 3 | }; 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/var2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo {} 3 | } 4 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while1.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while2.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while ( 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while3.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while4.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while ( if 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while5.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while ( 23 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while6.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while ( 23 ) 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while7.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while ( 23 ) 12 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/while8.java: -------------------------------------------------------------------------------- 1 | class a { 2 | b c() { 3 | while ( 23 ) 12; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaParser/tests/wrongFinally.java: -------------------------------------------------------------------------------- 1 | class a { 2 | int foo() { 3 | try {} 23 finally; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /objects/applications/klein/javaUI2/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.7 $ 2 | 3 | # Copyright 1999-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../../.. 7 | FILES = Makefile 8 | SELF_MODULES = javaUI2 \ 9 | javaCatReferrent \ 10 | javaUI2ACModel \ 11 | javaUI2ASModel \ 12 | javaUI2CUModel \ 13 | javaUI2CatModel \ 14 | javaUI2ClassModel \ 15 | javaUI2ImpDclModel \ 16 | javaUI2ImpPkgModel \ 17 | javaUI2InterfModel \ 18 | javaUI2PCModel \ 19 | javaUI2PkgModel \ 20 | javaUI2SlotModel \ 21 | javaUI2TDModel \ 22 | 23 | include ${ROOT}/templates/sources.make 24 | -------------------------------------------------------------------------------- /objects/applications/parseKit/Makefile: -------------------------------------------------------------------------------- 1 | # Sun-$Revision: 30.6 $ 2 | 3 | # Copyright 1994-2006 Sun Microsystems, Inc. 4 | # See the LICENSE file for license information. 5 | 6 | ROOT = ../../.. 7 | FILES = Makefile 8 | SELF_MODULES = parseKit \ 9 | parseKit1 \ 10 | parseKitCharSets \ 11 | parseKitCharSets2 \ 12 | parseKitCharSets3 \ 13 | parseKitErr \ 14 | parseKitErr1 \ 15 | parseKitInput \ 16 | parseKitMinis \ 17 | parseKitNodes \ 18 | parseKitSamples \ 19 | parseKitTester \ 20 | parseKitTokens \ 21 | parseKitUI \ 22 | parseNode \ 23 | 24 | include ${ROOT}/templates/sources.make 25 | --------------------------------------------------------------------------------