⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commandline.html

📁 This a JavaCC documentation.
💻 HTML
字号:
<HTML><!--Copyright 漏 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,California 95054, U.S.A. All rights reserved.  Sun Microsystems, Inc. hasintellectual property rights relating to technology embodied in the productthat is described in this document. In particular, and without limitation,these intellectual property rights may include one or more of the U.S.patents listed at http://www.sun.com/patents and one or more additionalpatents or pending patent applications in the U.S. and in other countries.U.S. Government Rights - Commercial software. Government users are subjectto the Sun Microsystems, Inc. standard license agreement and applicableprovisions of the FAR and its supplements.  Use is subject to license terms.Sun,  Sun Microsystems,  the Sun logo and  Java are trademarks or registeredtrademarks of Sun Microsystems, Inc. in the U.S. and other countries.  Thisproduct is covered and controlled by U.S. Export Control laws and may besubject to the export or import laws in other countries.  Nuclear, missile,chemical biological weapons or nuclear maritime end uses or end users, whetherdirect or indirect, are strictly prohibited.  Export or reexport to countriessubject to U.S. embargo or to entities identified on U.S. export exclusionlists, including, but not limited to, the denied persons and speciallydesignated nationals lists is strictly prohibited.--><HEAD> <title>JavaCC Command Line Syntax</title><!-- Changed by: Michael Van De Vanter, 14-Jan-2003 --></HEAD><BODY bgcolor="#FFFFFF" ><H1>JavaCC [tm]: Command Line Syntax</H1>First, you can obtain a synopsis of the command line syntax by simplytyping "javacc".  This is what you get:<P><PRE>% javacc<<< Version and copyright info>>>Usage:    javacc option-settings inputfile"option-settings" is a sequence of settings separated by spaces.Each option setting must be of one of the following forms:    -optionname=value (e.g., -STATIC=false)    -optionname:value (e.g., -STATIC:false)    -optionname       (equivalent to -optionname=true.  e.g., -STATIC)    -NOoptionname     (equivalent to -optionname=false. e.g., -NOSTATIC)Option settings are not case-sensitive, so one can say "-nOsTaTiC" insteadof "-NOSTATIC".  Option values must be appropriate for the correspondingoption, and must be either an integer, a boolean, or a string value.The integer valued options are:    LOOKAHEAD              (default 1)    CHOICE_AMBIGUITY_CHECK (default 2)    OTHER_AMBIGUITY_CHECK  (default 1)The boolean valued options are:    STATIC                 (default true)    DEBUG_PARSER           (default false)    DEBUG_LOOKAHEAD        (default false)    DEBUG_TOKEN_MANAGER    (default false)    OPTIMIZE_TOKEN_MANAGER (default true)    ERROR_REPORTING        (default true)    JAVA_UNICODE_ESCAPE    (default false)    UNICODE_INPUT          (default false)    IGNORE_CASE            (default false)    COMMON_TOKEN_ACTION    (default false)    USER_TOKEN_MANAGER     (default false)    USER_CHAR_STREAM       (default false)    BUILD_PARSER           (default true)    BUILD_TOKEN_MANAGER    (default true)    TOKEN_MANAGER_USES_PARSER (default false)    SANITY_CHECK           (default true)    FORCE_LA_CHECK         (default false)    CACHE_TOKENS           (default false)    KEEP_LINE_COLUMN       (default true)The string valued options are:    OUTPUT_DIRECTORY       (default Current Directory)EXAMPLE:    javacc -STATIC=false -LOOKAHEAD:2 -debug_parser mygrammar.jjABOUT JavaCC:    JavaCC is a parser generator for the Java [tm] programming    language originally built by    Sriram Sankar (http://www.cs.stanford.edu/~sankar) and    Sreeni Viswanadha (http://www.cs.albany.edu/~sreeni).%</PRE><P>The above help message pretty much explains everything.  The options areexplained in detail in<A HREF="javaccgrm.html#prod2">the description of the JavaCCinput syntax (click here)</A>.<P>Any option may be set either on the command line as shown in the help messageabove, or in the grammar file as describe in<A HREF="javaccgrm.html">the JavaCC input file syntax document</A>.The effect is exactly the same.  If the same option is set in both thecommand line and the grammar file, then the option setting in the commandline takes precedence.<P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -