ࡱ> ~}%` ]8bjbj"x"x.~@@]0XXXXXXXl000040l0D1:1111222CCCCCCC$&EhGCX22222CXX11C@@@2X1X1C@2C@@XX@11 PUah0K;@;AtD00D@,H9?T,H@,HX@22@22222CC@2220D2222lll'-lll-lllXXXXXX ANTLR3 Description Invokes the  HYPERLINK "http://www.antlr.org/v3/index.html" \t "_top" ANTLR3 Translator generator on a grammar file. Prerequisites Apache ant version 1.7.0 and later is required, but ant version 1.6.5 should support antlibs, too. Installation The recommended procedure is to copy the antlr3.jar in your $ANT_HOME/lib directory, but it suffices to have it in your classpath. Parameters AttributeDescriptionRequiredtargetThe grammar file to process.YesoutputdirectoryThe directory to write the generated files to. If not set, the files are written to the directory containing the grammar file. NolibdirectoryThe directory where to find token files.NodependWhen set to true, ANTLRs depend option is used to resolve dependencies and to decide whether to invoke ANTLR for compilation. When set to false, try to figure out if an ANTLR generated file is out of date without invoking ANTLR with its depend option. Default setting is false to keep backwards compatibility.NoreportWhen set to "true", prints out a report about the grammar processed. Default is false.NoprintWhen set to "true", print out the grammar without actions. Default is false.NodebugWhen set to "true", the generated parser emits debugging events. Default is falseNoprofileWhen set to "true", generates a parser that computes profiling information. Default is false.NonfaWhen set to "true", generate an NFA for each rule. Default is false.NodfaWhen set to "true", generate an DFA for each rule. Default is false.NomessageFormatWhen set to a message format the specified output style for messages is used. Default is false.NomultithreadedWhen set to "true", run the analysis in 2 threads. Default is false.NodirThe directory to invoke the VM in.NodbgSTWhen set to true, put tags at start/stop of all templates in output. Default is false.NonopruneTest lookahead against EBNF block exit branches. Default is false.Nonocollapsecollapse incident edges into DFA states Default is false.NoconversiontimeoutSet the NFA conversion timeout for each decisition to the supplied number of milliseconds. Default is 100 as per ANTLR3NoAs nearly everywhere in ant true respectively false can be used instead of yes and no to activate or deactivate an attribute. Nested Elements ANTLR3 supports a nested element, that represents a  HYPERLINK "http://ant.apache.org/manual/using.html" \l "path" PATH like structure. It is given as a convenience if you have to specify the original ANTLR directory. In most cases, having the antlr-3.x.jar, the antlr-2.7.7.jar and the stringtemplate-3.x.jar referenced in the classpath or via the ANTLR_HOME environment variable will be enough. jvmarg Additional parameters may be passed to the new VM via nested attributes, for example: ... would set the maximum Java heap size to 512 Megabyte when running ANTLR3. allows all attributes described in  HYPERLINK "http://ant.apache.org/manual/using.html" \l "arg" Command line arguments. Example This invokes ANTLR3 on grammar file etc/java.g, writing the generated files to build/src. The analysis is being done in two threads. A complete build file showing the usage of the ANTLR3 task might look like this: More than a DOS to UNIX conversion of line ends. The same build file assuming antlr-3.1.jar, stringtemplate-3.2.jar and antlr-2.7.7.jar are part of the java classpath. Have a look at the antlr and compile targets which dont reference antlr.path any more. More than a DOS to UNIX conversion of line ends. . . . How does the ant task for Antlr3 finds the Antlr3 libraries The ant task for Antlr3 inspects the environment variable ANTLR_HOME. It looks in the ANTLR_HOME/lib directory and adds the libraries which fit the patterns antlr-*.jar and stringtemplate-*.jar to the classpath. Then it checkes if ANTLRGrammarParseBehavior.class, ANTLRParser.class and StringTemplate.class can be resolved via the classpath. Warning: If the Anltr3 libraries have already been listed in the classpath make sure they point to the same version ANTLR_HOME refers to, else you might get unexpected results. Either use ANTLR_HOME to resolve the ANTLR3 libraries or add them to the CLASSPATH environment variable, but do not use both ways at the same time. Trouble-Shooting First check if the antlr3.jar can be resolved by ant. The command ant diagnostics should list antlr3.jar in the ANT_HOME/lib jar listing section, if the installation recommendation had been adhered to. Second try the ant verbose option -v: ant v This will output some information of the internal processings of the ANTLR3 task. Third make sure that the jar-archives of the actual antlr distribution are contained in your classpath. At the moment this would refer to antlr-3.x.jar, antlr-2.7.7.jar and stringtemplate-3.x.jar. As a consequence the definition of the antlr.path property , as shown in the example, is not required and the build file has no dependency on the antlr version. The advantage of this approach is that updates of antlr and possibly linked changes in the naming of the before mentioned antlr jar-archives result in no changes of existing ant build-files. Solely the modification of the classpath variable enables you to switch to a different version of antlr.  Z[\bc u v   ` G Y Z [ ^ _   h( mH sH h+jmH sH h@mH sH h5h5mH sH h5mH sH huCJaJmH sH hu5\mH sH hu5CJ\aJmH sH hu0JmH sH jhuUmH sH jhuUmH sH humH sH 3 $$Ifa$$If ]8 rllc $$Ifa$$Ifkd$$IfF"#06    34ab  r u rllc $$Ifa$$Ifkd$$IfF"#06    34ab u v rllc $$Ifa$$IfkdA$$IfF"#06    34ab  9 rlcccZ $$Ifa$ $Ifgd5$Ifkd$$IfF"#06    34ab   G [ ^ rlllc $$Ifa$$Ifkd$$IfF"#06    34ab ^ _ e rlllc $$Ifa$$IfkdW$$IfF"#06    34ab    rlllc $$Ifa$$Ifkd $$IfF"#06    34ab    k  rlllc $$Ifa$$Ifkd$$IfF"#06    34ab   k   !}efz}~Ȣȋwh V:mH sH h! ]CJaJmH sH h! ]h! ]mH sH hF9CJaJmH sH h+jh! ]mH sH h+jh+jmH sH h+jmH sH hF9mH sH h! ]mH sH huCJaJmHsHhumHsHh( mH sH humH sH huCJaJmH sH - rlllc $$Ifa$$Ifkdm$$IfF"#06    34ab   rlllc $$Ifa$$Ifkd$$IfF"#06    34ab  !/}rlllc $$Ifa$$Ifkd$$IfF"#06    34ab rlllc $$Ifa$$Ifkd$$IfF"#06    34ab rllc $$Ifa$$Ifkd5 $$IfF"#06    34ab fz}rlllc $$Ifa$$Ifkd $$IfF"#06    34ab }~rlllc $$Ifa$$Ifkd $$IfF"#06    34ab rlllc $$Ifa$$IfkdK $$IfF"#06    34ab ,rllcZ $$Ifa$ $Ifgd V:$Ifkd $$IfF"#06    34ab .>DWb~+Iz~& 56tu ʸʸʦʦʞʎʃ{{ʸʸsʎʎhumH sH hq_mH sH hFrhFrmH sH huCJOJQJ^JmH sH hzmH sH h1'mH sH hu0JmH sH jhuUhu0JmH sH humH sH hu5CJ\aJmH sH h V:CJaJmH sH h V:mH sH h! ]h V:mH sH -.>@ rppnlnjjjjnnkd $$IfF"#06    34ab   )BR()Yk<As&UgdI1 )-R'()#NWvw  $7$'''蔄qaQhuCJOJQJ^JmH sH h:XCJOJQJ^JmH sH $h:Xh:XCJOJQJ^JmH sH huCJOJQJ^JmHsHhuCJOJQJ^Jh#CJOJQJ^JmH sH hAaCJOJQJ^JmH sH hGCJOJQJ^JmH sH hI1CJOJQJ^JmH sH h-mH sH huCJOJQJ^JmH sH humH sH :;V`!W#NHgdAaH[gh$N|Q 8 h ![!gd:X[!!!!"7"k"|"""""&#:#H#I#~###3$A$B$$$$$$&%]%%%%%%%%0&@&a&&&& '1'?'D'''''w(x(((() )<)A)^)''v(-{--1111122222333n4o444ਫ਼tgWL?hu5CJ\mH sH h2humH sH h2hH5CJ\mH sH hH5CJ\mH sH hy5CJ\mH sH h2h25CJ\mH sH h25CJ\mH sH h2h2mH sH h2mH sH $h2huCJOJQJ^JmH sH huCJOJQJ^JmHsHhuCJOJQJ^JhuCJOJQJ^JmH sH humH sH hsmH sH ^)))))*H*u****++J++++++2,^,_,x,,,,-E-s-------H.../3/^/////000`000#1W1h1v1x1z1|11111*3o4444N5v5}55]8gd2 44u5}5a6b6n66666]8hVP\5CJ\mH sH h65CJ\mH sH hu5CJ\mH sH (hu5CJOJQJ\^JaJmH sH  ,1h. A!"#$n% DyK _topyK ^http://www.antlr.org/v3/index.htmlyX;H,]ą'c$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34$$If!vh5I5g5#vI#vg#v:V 065/ 34D@D StandardCJ_HaJmHsHtHV@"V  berschrift 2dd@&[$\$5CJ$\aJ$V@2V  berschrift 3dd@&[$\$5CJ\aJN@BN  berschrift 4dd@&[$\$5\JA@J Absatz-Standardschriftart\i@\ Normale Tabelle :V 44 la 0k@0 Keine Liste F^@F Standard (Web)dd[$\$Bb@B HTML CodeCJOJPJQJ^JaJ6U@6 Hyperlink >*B*phe@" HTML Vorformatiert7 2( Px 4 #\'*.25@9CJOJPJQJ^JaJHV@1H BesuchterHyperlink >*B* ph]0~ ruv9G[^_ek  !/}fz}~,. > @ ) B R ()Yk<As&U:;V`!W#NH[gh$N|Q8h[7k|&:HI~3AB&]0@a 1?Dw x ! ! u ^  }H[!%^)-1]8 !"#$%&')*+,-./01346789;<=]8[b~ 5 t ]0XXX8@0(  B S  ?v!.~+T^X a  % N Y [ |     $ ' z LSNQ&)DIR[{ GQ'1279CRY -2:=AHW\dkov>Chm{#'*BEdiw} ,5DOXguz3#6AEHKRZ]  2 7 b l !+!"""""""###^#g#u#x###$$%%%%$%)%1%4%8%?%N%S%[%b%f%m%|%%%%%%&&5&:&_&d&r&~&&&&&&&''"'%'B'N'R'['B(G((((((((((() )0);)D)S)a)f)n*s************++(+k+t+--..,.5...&/+/g/l///00V0[0_0c ' F M    - : I P ^iEI?Cdh%)[_#GTw} $]g26A8>qy E!I!!!!#%###$$$${%%%%%%&&&&''B'N'm'z'''''''( (h(l() )I)S),,,,v-y-.._033333333333333333333333333333333333333333333333333333333333333333333333G[k }f,. > ' ) R ?Z'(,,_0 _0 [ ( @Aa- V:WVP\! ]q_+jFryGj:XF9s5z8#6'uBI1H21'u#ruv[^_e !/z}~,*_0c08ڊ@  ]0@UnknownGz Times New Roman5Symbol3& z Arial?5 z Courier New"13F5F)Y)Y%4dE0E02QLP ?G2,<project name="D2U" default="dist" basedir="JuergenJuergenOh+'0 , L Xdlt|0?ABCDEFGIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklnopqrstvwxyz{|Root Entry F`hData @1TableH,HWordDocument.~SummaryInformation(mDocumentSummaryInformation8uCompObjq  FMicrosoft Office Word-Dokument MSWordDocWord.Document.89q