Commit 82706d4a authored by Andrey Filippov's avatar Andrey Filippov

committing unmodified veditor_1_2_0 source downloaded from sourceforge.net,...

committing unmodified veditor_1_2_0 source downloaded from sourceforge.net, adding files that had wrong permissions
parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

KOBAYASHI Tadashi - initial API and implementation
Øyvind Harboe - various odd bugfixes to VHDL and update site.
Ken Horn - bugfixes
Ali Ghorashi - Bug Fixes, Block Comment/Uncomment, templates, and other features
Stijn Last - VHDL Feature improvements
2008-05-11 tadashi-k
* Fixed bug that external files cannot be edited
* Fixed bug that files cannot be opened from Repository Exploring Perspective
2008-05-05 tadashi-k
* Added Sort and Filter options in Outline and Hierarchy views
* Modify behavior of Go To Definition
* Added context dependent content assist
* Added Verilog directive scanner
* Fixed bugs about Verilog Content Assist
* Added option of scanning all files in the project
* Modify parsing Verilog comment
* Fixed bugs about parsing Verilog code
2007-06-10 tadashi-k
* Fixed bugs about parsing compiler directives and case statement in Verilog
* Fixed bugs about parsing if statement in generate block
* Added Code Style preference page for Verilog code formatter
* Build for JRE 1.5 (no longer support 1.4)
2007-05-22 Ali Ghorashi
* Fixed bugs 1723058 (generate declarations) and 1703662 (custom attributes)
2007-04-14 tadashi-k
* Fixed indent bug in module instantiation
* Fixed openPage bug in Verilog and VHDL mixed design
2007-02-11 tadashi-k
* Fixed parsing parameter statement in Verilog
* Preserve indent in template pattern
2007-01-06 tadashi-k
* Added Verilog context types and templates
* Fixed a problem of VHDL "inModule" template
* Fixed 1573514
2006-12-28 Ali Ghorashi
* Added Templates Support
* Added Toolbar menus for compiling
* Fixed 1613455
2006-12-19 Øyvind Harboe
* The project now does not need to be named "veditor" to compile.
2006-12-12 Ghorashi-A
* Fixed a problem with "end architecture" in vhdl parser
* Fixed a builder bug that looked at "/" as the current directry
* Fixed compile action so that all the files are saved before compiling if
the "Save Automatically Before Build" option is checked.
* Moved Compile Action to build menu
* Added Block Command and Block Uncomment
2006-12-10 tadashi-k
* fixed bugs about error parser and simulation
2006-09-10 tadashi-k
* add Export-Package in MANIFEST.MF for test
2006-08-27 tadashi-k
* add a new contributor to CONTRIBUTORS.txt
2006-08-26 tadashi-k
* refactored ParserCore.jj and other files.
* implemented TextHover with declaration lines
2006-08-17 tadashi-k
* fixed bugs: 1488462, 1519826, 1519835, 1537960
2006-08-16 tadashi-k
* fixed bugs: 1529153, 1538377
* fixed bugs: ExtenalLauncher show error if launch in non-exist directory
2006-08-14 Øyvind Harboe
* renamed ChangeLog to ChangeLog.txt & CONTRIBUTORS to CONTRIBUTORS.txt that allows
BOM & UTF-8 encoding to be used.
、私は3つのビールを食べるように!
2006-08-12 tadashi-k
* Changed license from GPL to EPL
2006-08-11 Øyvind Harboe
* Added CONTRIBUTORS file
2006-05-30 Øyvind Harboe
* added ChangeLog
* bumped version number for plugin to 0.4.2
* Fixed NPE in ctrl-space for VHDL files.
* renamed build.xml to buildjavacc.xml. The original build.xml file
is used to generate .java from .jj files. The "build.xml" name
is used by standard Eclipse naming w.r.t. build files for exporting
the plugin
* added standard Eclipse plugin.xlm, which produces an emphemeral build.xml
which allows exporting veditor as a plugin
K 25
svn:wc:ra_dav:version-url
V 47
/p/veditor/code/!svn/ver/695/trunk/src/META-INF
END
MANIFEST.MF
K 25
svn:wc:ra_dav:version-url
V 59
/p/veditor/code/!svn/ver/695/trunk/src/META-INF/MANIFEST.MF
END
10
dir
700
https://svn.code.sf.net/p/veditor/code/trunk/src/META-INF
https://svn.code.sf.net/p/veditor/code
2013-04-24T18:02:38.024887Z
695
aghoras
3f283593-323e-0410-93fe-8b41104a9e7c
MANIFEST.MF
file
2013-04-24T18:05:10.848116Z
c1f22b4412d34c4aecbdd79d1fc08154
2013-04-24T18:02:38.024887Z
695
aghoras
has-props
966
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Verilog/VHDL Plugin
Bundle-SymbolicName: net.sourceforge.veditor; singleton:=true
Bundle-Version: 1.2
Bundle-ClassPath: veditor.jar
Bundle-Activator: net.sourceforge.veditor.VerilogPlugin
Bundle-Vendor: VEditor Team
Bundle-Localization: plugin
Export-Package:
net.sourceforge.veditor,
net.sourceforge.veditor.actions,
net.sourceforge.veditor.builder,
net.sourceforge.veditor.editor,
net.sourceforge.veditor.log,
net.sourceforge.veditor.parser,
net.sourceforge.veditor.preference,
net.sourceforge.veditor.wizard
Require-Bundle:
org.eclipse.ui,
org.eclipse.ui.editors,
org.eclipse.ui.workbench.texteditor,
org.eclipse.core.runtime,
org.eclipse.jface.text,
org.eclipse.core.resources,
org.eclipse.ui.views,
org.eclipse.ui.ide,
org.eclipse.ui.console,
org.eclipse.core.filesystem,
org.eclipse.debug.ui,
org.eclipse.core.variables
Eclipse-LazyStart: true
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Verilog/VHDL Plugin
Bundle-SymbolicName: net.sourceforge.veditor; singleton:=true
Bundle-Version: 1.2
Bundle-ClassPath: veditor.jar
Bundle-Activator: net.sourceforge.veditor.VerilogPlugin
Bundle-Vendor: VEditor Team
Bundle-Localization: plugin
Export-Package:
net.sourceforge.veditor,
net.sourceforge.veditor.actions,
net.sourceforge.veditor.builder,
net.sourceforge.veditor.editor,
net.sourceforge.veditor.log,
net.sourceforge.veditor.parser,
net.sourceforge.veditor.preference,
net.sourceforge.veditor.wizard
Require-Bundle:
org.eclipse.ui,
org.eclipse.ui.editors,
org.eclipse.ui.workbench.texteditor,
org.eclipse.core.runtime,
org.eclipse.jface.text,
org.eclipse.core.resources,
org.eclipse.ui.views,
org.eclipse.ui.ide,
org.eclipse.ui.console,
org.eclipse.core.filesystem,
org.eclipse.debug.ui,
org.eclipse.core.variables
Eclipse-LazyStart: true
K 25
svn:wc:ra_dav:version-url
V 49
/p/veditor/code/!svn/ver/699/trunk/src/_generated
END
10
dir
700
https://svn.code.sf.net/p/veditor/code/trunk/src/_generated
https://svn.code.sf.net/p/veditor/code
2013-07-01T17:52:17.712126Z
699
aghoras
3f283593-323e-0410-93fe-8b41104a9e7c
net
dir
K 25
svn:wc:ra_dav:version-url
V 53
/p/veditor/code/!svn/ver/699/trunk/src/_generated/net
END
10
dir
700
https://svn.code.sf.net/p/veditor/code/trunk/src/_generated/net
https://svn.code.sf.net/p/veditor/code
2013-07-01T17:52:17.712126Z
699
aghoras
3f283593-323e-0410-93fe-8b41104a9e7c
sourceforge
dir
K 25
svn:wc:ra_dav:version-url
V 65
/p/veditor/code/!svn/ver/699/trunk/src/_generated/net/sourceforge
END
10
dir
700
https://svn.code.sf.net/p/veditor/code/trunk/src/_generated/net/sourceforge
https://svn.code.sf.net/p/veditor/code
2013-07-01T17:52:17.712126Z
699
aghoras
3f283593-323e-0410-93fe-8b41104a9e7c
veditor
dir
K 25
svn:wc:ra_dav:version-url
V 73
/p/veditor/code/!svn/ver/699/trunk/src/_generated/net/sourceforge/veditor
END
10
dir
700
https://svn.code.sf.net/p/veditor/code/trunk/src/_generated/net/sourceforge/veditor
https://svn.code.sf.net/p/veditor/code
2013-07-01T17:52:17.712126Z
699
aghoras
3f283593-323e-0410-93fe-8b41104a9e7c
parser
dir
K 25
svn:wc:ra_dav:version-url
V 80
/p/veditor/code/!svn/ver/699/trunk/src/_generated/net/sourceforge/veditor/parser
END
VhdlParserCoreTokenManager.java
K 25
svn:wc:ra_dav:version-url
V 112
/p/veditor/code/!svn/ver/193/trunk/src/_generated/net/sourceforge/veditor/parser/VhdlParserCoreTokenManager.java
END
Token.java
K 25
svn:wc:ra_dav:version-url
V 91
/p/veditor/code/!svn/ver/115/trunk/src/_generated/net/sourceforge/veditor/parser/Token.java
END
TokenMgrError.java
K 25
svn:wc:ra_dav:version-url
V 99
/p/veditor/code/!svn/ver/473/trunk/src/_generated/net/sourceforge/veditor/parser/TokenMgrError.java
END
VhdlParserCoreConstants.java
K 25
svn:wc:ra_dav:version-url
V 109
/p/veditor/code/!svn/ver/193/trunk/src/_generated/net/sourceforge/veditor/parser/VhdlParserCoreConstants.java
END
VhdlParserCore.java
K 25
svn:wc:ra_dav:version-url
V 100
/p/veditor/code/!svn/ver/193/trunk/src/_generated/net/sourceforge/veditor/parser/VhdlParserCore.java
END
ParseException.java
K 25
svn:wc:ra_dav:version-url
V 100
/p/veditor/code/!svn/ver/472/trunk/src/_generated/net/sourceforge/veditor/parser/ParseException.java
END
VerilogParserCoreTokenManager.java
K 25
svn:wc:ra_dav:version-url
V 115
/p/veditor/code/!svn/ver/197/trunk/src/_generated/net/sourceforge/veditor/parser/VerilogParserCoreTokenManager.java
END
VerilogParserCoreConstants.java
K 25
svn:wc:ra_dav:version-url
V 112
/p/veditor/code/!svn/ver/139/trunk/src/_generated/net/sourceforge/veditor/parser/VerilogParserCoreConstants.java
END
JavaCharStream.java
K 25
svn:wc:ra_dav:version-url
V 100
/p/veditor/code/!svn/ver/115/trunk/src/_generated/net/sourceforge/veditor/parser/JavaCharStream.java
END
VerilogParserCore.java
K 25
svn:wc:ra_dav:version-url
V 103
/p/veditor/code/!svn/ver/190/trunk/src/_generated/net/sourceforge/veditor/parser/VerilogParserCore.java
END
10
dir
700
https://svn.code.sf.net/p/veditor/code/trunk/src/_generated/net/sourceforge/veditor/parser
https://svn.code.sf.net/p/veditor/code
2013-07-01T17:52:17.712126Z
699
aghoras
3f283593-323e-0410-93fe-8b41104a9e7c
VhdlParserCoreTokenManager.java
file
2013-04-24T18:05:10.478109Z
91d037b63cd6b49de9d603e8ce9edbef
2007-05-21T22:42:27.000000Z
193
aghoras
has-props
45270
Token.java
file
2013-04-24T18:05:10.488109Z
4ae017f2a49858c6412e6e46931fc5cf
2006-05-02T19:02:10.000000Z
115
tadashi-k
has-props
2758
TokenMgrError.java
file
2013-04-24T18:05:10.538110Z
42b4c558099dee4946d0acc9ffdd2bfb
2009-02-17T16:56:42.710132Z
473
aghoras
has-props
4451
VhdlParserCoreConstants.java
file
2013-04-24T18:05:10.568111Z
1f6325b6fa81279a19b66f0db91ceb28
2007-05-21T22:42:27.000000Z
193
aghoras
has-props
2902
VhdlParserCore.java
file
2013-04-24T18:05:10.578111Z
f334d2ebcde31b966592fe6460fd8ca8
2007-05-21T22:42:27.000000Z
193
aghoras
has-props
35274
verilog
dir
ParseException.java
file
2013-04-24T18:05:10.588111Z
29025d0325a33f227310eace66b7a8ef
2009-02-17T16:55:57.463424Z
472
aghoras
has-props
6724
VerilogParserCoreTokenManager.java
file
2013-04-24T18:05:10.588111Z
a8608c350cb30105bd357309c84833a9
2007-06-10T06:20:15.000000Z
197
tadashi-k
has-props
51318
VerilogParserCoreConstants.java
file
2013-04-24T18:05:10.598111Z
1dff7570fac9ec1e00d1be87c5da9644
2006-08-25T17:09:28.000000Z
139
tadashi-k
has-props
2682
JavaCharStream.java
file
2013-04-24T18:05:10.608112Z
0fd75cbed563ed590115a96c67d029e3
2006-05-02T19:02:10.000000Z
115
tadashi-k
has-props
14911
VerilogParserCore.java
file
2013-04-24T18:05:10.618112Z
f83381808722e494b1eb12481ad1eefe
2007-02-11T15:11:40.000000Z
190
tadashi-k
has-props
32175
vhdl
dir
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
K 13
svn:eol-style
V 6
native
K 12
svn:keywords
V 23
Author Date Id Revision
END
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 3.0 */
package net.sourceforge.veditor.parser;
/**
* This exception is thrown when parse errors are encountered.
* You can explicitly create objects of this exception type by
* calling the method generateParseException in the generated
* parser.
*
* You can modify this class to customize your error reporting
* mechanisms so long as you retain the public fields.
*/
public class ParseException extends Exception {
/**
*
*/
private static final long serialVersionUID = 7811742812760162144L;
/**
* This constructor is used by the method "generateParseException"
* in the generated parser. Calling this constructor generates
* a new object of this type with the fields "currentToken",
* "expectedTokenSequences", and "tokenImage" set. The boolean
* flag "specialConstructor" is also set to true to indicate that
* this constructor was used to create this object.
* This constructor calls its super class with the empty string
* to force the "toString" method of parent class "Throwable" to
* print the error message in the form:
* ParseException: <result of getMessage>
*/
public ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal
)
{
super("");
specialConstructor = true;
currentToken = currentTokenVal;
expectedTokenSequences = expectedTokenSequencesVal;
tokenImage = tokenImageVal;
}
/**
* The following constructors are for use by you for whatever
* purpose you can think of. Constructing the exception in this
* manner makes the exception behave in the normal way - i.e., as
* documented in the class "Throwable". The fields "errorToken",
* "expectedTokenSequences", and "tokenImage" do not contain
* relevant information. The JavaCC generated code does not use
* these constructors.
*/
public ParseException() {
super();
specialConstructor = false;
}
public ParseException(String message) {
super(message);
specialConstructor = false;
}
/**
* This variable determines which constructor was used to create
* this object and thereby affects the semantics of the
* "getMessage" method (see below).
*/
protected boolean specialConstructor;
/**
* This is the last token that has been consumed successfully. If
* this object has been created due to a parse error, the token
* followng this token will (therefore) be the first error token.
*/
public Token currentToken;
/**
* Each entry in this array is an array of integers. Each array
* of integers represents a sequence of tokens (by their ordinal
* values) that is expected at this point of the parse.
*/
public int[][] expectedTokenSequences;
/**
* This is a reference to the "tokenImage" array of the generated
* parser within which the parse error occurred. This array is
* defined in the generated ...Constants interface.
*/
public String[] tokenImage;
/**
* This method has the standard behavior when this object has been
* created using the standard constructors. Otherwise, it uses
* "currentToken" and "expectedTokenSequences" to generate a parse
* error message and returns it. If this object has been created
* due to a parse error, and you do not catch it (it gets thrown
* from the parser), then this method is called during the printing
* of the final stack trace, and hence the correct error message
* gets displayed.
*/
public String getMessage() {
if (!specialConstructor) {
return super.getMessage();
}
StringBuffer expected = new StringBuffer();
int maxSize = 0;
for (int i = 0; i < expectedTokenSequences.length; i++) {
if (maxSize < expectedTokenSequences[i].length) {
maxSize = expectedTokenSequences[i].length;
}
for (int j = 0; j < expectedTokenSequences[i].length; j++) {
expected.append(tokenImage[expectedTokenSequences[i][j]]).append(" ");
}
if (expectedTokenSequences[i][expectedTokenSequences[i].length - 1] != 0) {
expected.append("...");
}
expected.append(eol).append(" ");
}
String retval = "Encountered \"";
Token tok = currentToken.next;
for (int i = 0; i < maxSize; i++) {
if (i != 0) retval += " ";
if (tok.kind == 0) {
retval += tokenImage[0];
break;
}
retval += add_escapes(tok.image);
tok = tok.next;
}
retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColumn;
retval += "." + eol;
if (expectedTokenSequences.length == 1) {
retval += "Was expecting:" + eol + " ";
} else {
retval += "Was expecting one of:" + eol + " ";
}
retval += expected.toString();
return retval;
}
/**
* The end of line string for this machine.
*/
protected String eol = System.getProperty("line.separator", "\n");
/**
* Used to convert raw characters to their escaped version
* when these raw version cannot be used as part of an ASCII
* string literal.
*/
protected String add_escapes(String str) {
StringBuffer retval = new StringBuffer();
char ch;
for (int i = 0; i < str.length(); i++) {
switch (str.charAt(i))
{
case 0 :
continue;
case '\b':
retval.append("\\b");
continue;
case '\t':
retval.append("\\t");
continue;
case '\n':
retval.append("\\n");
continue;
case '\f':
retval.append("\\f");
continue;
case '\r':
retval.append("\\r");
continue;
case '\"':
retval.append("\\\"");
continue;
case '\'':
retval.append("\\\'");
continue;
case '\\':
retval.append("\\\\");
continue;
default:
if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
String s = "0000" + Integer.toString(ch, 16);
retval.append("\\u" + s.substring(s.length() - 4, s.length()));
} else {
retval.append(ch);
}
continue;
}
}
return retval.toString();
}
}
/* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
package net.sourceforge.veditor.parser;
/**
* Describes the input token stream.
*/
public class Token {
/**
* An integer that describes the kind of this token. This numbering
* system is determined by JavaCCParser, and a table of these numbers is
* stored in the file ...Constants.java.
*/
public int kind;
/**
* beginLine and beginColumn describe the position of the first character
* of this token; endLine and endColumn describe the position of the
* last character of this token.
*/
public int beginLine, beginColumn, endLine, endColumn;
/**
* The string image of the token.
*/
public String image;
/**
* A reference to the next regular (non-special) token from the input
* stream. If this is the last token from the input stream, or if the
* token manager has not read tokens beyond this one, this field is
* set to null. This is true only if this token is also a regular
* token. Otherwise, see below for a description of the contents of
* this field.
*/
public Token next;
/**
* This field is used to access special tokens that occur prior to this
* token, but after the immediately preceding regular (non-special) token.
* If there are no such special tokens, this field is set to null.
* When there are more than one such special token, this field refers
* to the last of these special tokens, which in turn refers to the next
* previous special token through its specialToken field, and so on
* until the first special token (whose specialToken field is null).
* The next fields of special tokens refer to other special tokens that
* immediately follow it (without an intervening regular token). If there
* is no such token, this field is null.
*/
public Token specialToken;
/**
* Returns the image.
*/
public String toString()
{
return image;
}
/**
* Returns a new Token object, by default. However, if you want, you
* can create and return subclass objects based on the value of ofKind.
* Simply add the cases to the switch for all those special cases.
* For example, if you have a subclass of Token called IDToken that
* you want to create if ofKind is ID, simlpy add something like :
*
* case MyParserConstants.ID : return new IDToken();
*
* to the following switch statement. Then you can cast matchedToken
* variable to the appropriate type and use it in your lexical actions.
*/
public static final Token newToken(int ofKind)
{
switch(ofKind)
{
default : return new Token();
}
}
}
/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 3.0 */
package net.sourceforge.veditor.parser;
public class TokenMgrError extends Error
{
/*
* Ordinals for various reasons why an Error of this type can be thrown.
*/
/**
*
*/
private static final long serialVersionUID = 8717981741131339532L;
/**
* Lexical error occured.
*/
static final int LEXICAL_ERROR = 0;
/**
* An attempt wass made to create a second instance of a static token manager.
*/
static final int STATIC_LEXER_ERROR = 1;
/**
* Tried to change to an invalid lexical state.
*/
static final int INVALID_LEXICAL_STATE = 2;
/**
* Detected (and bailed out of) an infinite loop in the token manager.
*/
static final int LOOP_DETECTED = 3;
/**
* Indicates the reason why the exception is thrown. It will have
* one of the above 4 values.
*/
int errorCode;
/**
* Replaces unprintable characters by their espaced (or unicode escaped)
* equivalents in the given string
*/
protected static final String addEscapes(String str) {
StringBuffer retval = new StringBuffer();
char ch;
for (int i = 0; i < str.length(); i++) {
switch (str.charAt(i))
{
case 0 :
continue;
case '\b':
retval.append("\\b");
continue;
case '\t':
retval.append("\\t");
continue;
case '\n':
retval.append("\\n");
continue;
case '\f':
retval.append("\\f");
continue;
case '\r':
retval.append("\\r");
continue;
case '\"':
retval.append("\\\"");
continue;
case '\'':
retval.append("\\\'");
continue;
case '\\':
retval.append("\\\\");
continue;
default:
if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
String s = "0000" + Integer.toString(ch, 16);
retval.append("\\u" + s.substring(s.length() - 4, s.length()));
} else {
retval.append(ch);
}
continue;
}
}
return retval.toString();
}
/**
* Returns a detailed message for the Error when it is thrown by the
* token manager to indicate a lexical error.
* Parameters :
* EOFSeen : indicates if EOF caused the lexicl error
* curLexState : lexical state in which this error occured
* errorLine : line number when the error occured
* errorColumn : column number when the error occured
* errorAfter : prefix that was seen before this error occured
* curchar : the offending character
* Note: You can customize the lexical error message by modifying this method.
*/
protected static String LexicalError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar) {
return("Lexical error at line " +
errorLine + ", column " +
errorColumn + ". Encountered: " +
(EOFSeen ? "<EOF> " : ("\"" + addEscapes(String.valueOf(curChar)) + "\"") + " (" + (int)curChar + "), ") +
"after : \"" + addEscapes(errorAfter) + "\"");
}
/**
* You can also modify the body of this method to customize your error messages.
* For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not
* of end-users concern, so you can return something like :
*
* "Internal Error : Please file a bug report .... "
*
* from this method for such cases in the release version of your parser.
*/
public String getMessage() {
return super.getMessage();
}
/*
* Constructors of various flavors follow.
*/
public TokenMgrError() {
}
public TokenMgrError(String message, int reason) {
super(message);
errorCode = reason;
}
public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) {
this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
}
}
/* Generated By:JavaCC: Do not edit this line. VerilogParserCoreConstants.java */
package net.sourceforge.veditor.parser;
public interface VerilogParserCoreConstants {
int EOF = 0;
int MULTI_LINE_COMMENT = 2;
int ENDIF = 4;
int SINGLE_LINE_COMMENT = 11;
int DELSE = 12;
int DIRECTIVE = 13;
int MODULE = 14;
int ENDMODULE = 15;
int BEGIN = 16;
int END = 17;
int FORK = 18;
int JOIN = 19;
int SPECIFY = 20;
int ENDSPECIFY = 21;
int IF = 22;
int ELSE = 23;
int WHILE = 24;
int FOR = 25;
int FOREVER = 26;
int REPEAT = 27;
int CASE = 28;
int CASEX = 29;
int ENDCASE = 30;
int FUNCTION = 31;
int ENDFUNCTION = 32;
int TASK = 33;
int ENDTASK = 34;
int GENERATE = 35;
int ENDGENERATE = 36;
int INPUT = 37;
int OUTPUT = 38;
int INOUT = 39;
int INTEGER = 40;
int WIRE = 41;
int REG = 42;
int EVENT = 43;
int GENVAR = 44;
int REAL = 45;
int PARAMETER = 46;
int SIGNED = 47;
int STMT_HEAD = 48;
int BLOCK_HEAD = 49;
int LPAREN = 50;
int RPAREN = 51;
int LBRACE = 52;
int RBRACE = 53;
int LBRACKET = 54;
int RBRACKET = 55;
int EOS = 56;
int PARA = 57;
int AT = 58;
int BQ = 59;
int DOLLAR = 60;
int COMMA = 61;
int COLON = 62;
int EQUAL = 63;
int IDENT = 64;
int SPC_CHAR = 65;
int OTHER = 66;
int DEFAULT = 0;
int IN_MULTI_LINE_COMMENT = 1;
int IN_ELSE_BLOCK = 2;
String[] tokenImage = {
"<EOF>",
"\"/*\"",
"\"*/\"",
"<token of kind 3>",
"\"`endif\"",
"<token of kind 5>",
"\" \"",
"\"\\t\"",
"\"\\r\"",
"\"\\n\"",
"\"\\f\"",
"<SINGLE_LINE_COMMENT>",
"\"\\n`else\"",
"<DIRECTIVE>",
"\"module\"",
"\"endmodule\"",
"\"begin\"",
"\"end\"",
"\"fork\"",
"\"join\"",
"\"specify\"",
"\"endspecify\"",
"\"if\"",
"\"else\"",
"\"while\"",
"\"for\"",
"\"forever\"",
"\"repeat\"",
"\"case\"",
"\"casex\"",
"\"endcase\"",
"\"function\"",
"\"endfunction\"",
"\"task\"",
"\"endtask\"",
"\"generate\"",
"\"endgenerate\"",
"\"input\"",
"\"output\"",
"\"inout\"",
"\"integer\"",
"\"wire\"",
"\"reg\"",
"\"event\"",
"\"genvar\"",
"\"real\"",
"\"parameter\"",
"\"signed\"",
"<STMT_HEAD>",
"<BLOCK_HEAD>",
"\"(\"",
"\")\"",
"\"{\"",
"\"}\"",
"\"[\"",
"\"]\"",
"\";\"",
"\"#\"",
"\"@\"",
"\"`\"",
"\"$\"",
"\",\"",
"\":\"",
"\"=\"",
"<IDENT>",
"<SPC_CHAR>",
"\"[.]\"",
};
}
This diff is collapsed.
This diff is collapsed.
/* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
package net.sourceforge.veditor.parser;
/**
* Describes the input token stream.
*/
public class Token {
/**
* An integer that describes the kind of this token. This numbering
* system is determined by JavaCCParser, and a table of these numbers is
* stored in the file ...Constants.java.
*/
public int kind;
/**
* beginLine and beginColumn describe the position of the first character
* of this token; endLine and endColumn describe the position of the
* last character of this token.
*/
public int beginLine, beginColumn, endLine, endColumn;
/**
* The string image of the token.
*/
public String image;
/**
* A reference to the next regular (non-special) token from the input
* stream. If this is the last token from the input stream, or if the
* token manager has not read tokens beyond this one, this field is
* set to null. This is true only if this token is also a regular
* token. Otherwise, see below for a description of the contents of
* this field.
*/
public Token next;
/**
* This field is used to access special tokens that occur prior to this
* token, but after the immediately preceding regular (non-special) token.
* If there are no such special tokens, this field is set to null.
* When there are more than one such special token, this field refers
* to the last of these special tokens, which in turn refers to the next
* previous special token through its specialToken field, and so on
* until the first special token (whose specialToken field is null).
* The next fields of special tokens refer to other special tokens that
* immediately follow it (without an intervening regular token). If there
* is no such token, this field is null.
*/
public Token specialToken;
/**
* Returns the image.
*/
public String toString()
{
return image;
}
/**
* Returns a new Token object, by default. However, if you want, you
* can create and return subclass objects based on the value of ofKind.
* Simply add the cases to the switch for all those special cases.
* For example, if you have a subclass of Token called IDToken that
* you want to create if ofKind is ID, simlpy add something like :
*
* case MyParserConstants.ID : return new IDToken();
*
* to the following switch statement. Then you can cast matchedToken
* variable to the appropriate type and use it in your lexical actions.
*/
public static final Token newToken(int ofKind)
{
switch(ofKind)
{
default : return new Token();
}
}
}
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>About</title>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>August 12, 2006</p>
<h3>License</h3>
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).
Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the Redistributor&rsquo;s license
that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
<h3>Project web page</h3>
<a href="http://veditor.sourceforge.net/">http://veditor.sourceforge.net/</a>.
</body>
</html>
\ No newline at end of file
source.veditor.jar = src/,\
_generated/
output.veditor.jar = bin/
bin.includes = icons/,\
veditor.jar,\
plugin.xml,\
about.html,\
META-INF/,\
templates/
#
# Set the following to override the environment
# variable settings for JAVACC_HOME and ECLIPSE_HOME
#
javacc_dir=C:\\home\\javacc-5.0
eclipse_plugin_dir=c:\\eclipse\\plugins
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
K 13
svn:mime-type
V 24
application/octet-stream
END
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment