-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from Krzmbrzl/plugin
Finished work on v0.6.1
- Loading branch information
Showing
172 changed files
with
6,800 additions
and
2,075 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Total number of code lines for %1 = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+149 Bytes
(110%)
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/BasicErrorListener.class
Binary file not shown.
Binary file modified
BIN
+103 Bytes
(100%)
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/BasicFoldingManager.class
Binary file not shown.
Binary file added
BIN
+201 Bytes
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/IMacroSupport.class
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/Preprocessor.tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
IF=1 | ||
IFN=2 | ||
ELSE=3 | ||
ENDIF=4 | ||
DEFINE=5 | ||
UNDEFINE=6 | ||
INCLUDE=7 | ||
UNKNOWN=8 | ||
NUMBER=9 | ||
STRING=10 | ||
ID=11 | ||
ESC_LINEBREAK=12 | ||
LINEBREAK=13 | ||
WS=14 | ||
COMMENT=15 | ||
ANY=16 | ||
'#ifdef'=1 | ||
'#ifndef'=2 | ||
'#else'=3 | ||
'#endif'=4 | ||
'#define'=5 | ||
'#undef'=6 | ||
'#include'=7 |
Binary file added
BIN
+4.04 KB
....SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorBaseListener.class
Binary file not shown.
Binary file added
BIN
+4.18 KB
...n.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorBaseVisitor.class
Binary file not shown.
Binary file added
BIN
+6.17 KB
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorLexer.class
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorLexer.tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
IF=1 | ||
IFN=2 | ||
ELSE=3 | ||
ENDIF=4 | ||
DEFINE=5 | ||
UNDEFINE=6 | ||
INCLUDE=7 | ||
UNKNOWN=8 | ||
NUMBER=9 | ||
STRING=10 | ||
ID=11 | ||
ESC_LINEBREAK=12 | ||
LINEBREAK=13 | ||
WS=14 | ||
COMMENT=15 | ||
ANY=16 | ||
'#ifdef'=1 | ||
'#ifndef'=2 | ||
'#else'=3 | ||
'#endif'=4 | ||
'#define'=5 | ||
'#undef'=6 | ||
'#include'=7 |
Binary file added
BIN
+1.87 KB
...aven.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorListener.class
Binary file not shown.
Binary file added
BIN
+2.15 KB
...Dev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParseListener$1.class
Binary file not shown.
Binary file added
BIN
+2.19 KB
...Dev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParseListener$2.class
Binary file not shown.
Binary file added
BIN
+8.69 KB
...SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParseListener.class
Binary file not shown.
Binary file added
BIN
+1.02 KB
...itors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$CommandContext.class
Binary file not shown.
Binary file added
BIN
+2.71 KB
...ditors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$DefineContext.class
Binary file not shown.
Binary file added
BIN
+2.59 KB
...Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$ErrorContext.class
Binary file not shown.
Binary file added
BIN
+3.41 KB
...itors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$IfBlockContext.class
Binary file not shown.
Binary file added
BIN
+2.47 KB
...itors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$IncludeContext.class
Binary file not shown.
Binary file added
BIN
+2.63 KB
...bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$PreprocessingContext.class
Binary file not shown.
Binary file added
BIN
+3.69 KB
...Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$StartContext.class
Binary file not shown.
Binary file added
BIN
+2.47 KB
...tors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser$UndefineContext.class
Binary file not shown.
Binary file added
BIN
+11.1 KB
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorParser.class
Binary file not shown.
Binary file added
BIN
+2.57 KB
...Raven.SQDev.Editors/bin/raven/sqdev/editors/parser/preprocessor/PreprocessorVisitor.class
Binary file not shown.
Binary file modified
BIN
+105 Bytes
(100%)
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/sqdevEditor/SQDevFileEditor.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/Language.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...v.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableCellEditingSupport$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...v.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableCellEditingSupport$2.class
Binary file not shown.
Binary file modified
BIN
+16 Bytes
(100%)
...Dev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableCellEditingSupport.class
Binary file not shown.
Binary file modified
BIN
+168 Bytes
(110%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$10.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$11.class
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
...aven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$12$1.class
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$12.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$13.class
Binary file not shown.
Binary file modified
BIN
+898 Bytes
(160%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$14.class
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$15.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$16.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$17.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$18.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$2.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$3$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$3$2.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$3$3.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$3.class
Binary file not shown.
Binary file modified
BIN
+189 Bytes
(110%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$4.class
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$5.class
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$6.class
Binary file not shown.
Binary file modified
BIN
+43 Bytes
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$7.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$8.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor$9.class
Binary file not shown.
Binary file modified
BIN
+2.09 KB
(110%)
plugin/Raven.SQDev.Editors/bin/raven/sqdev/editors/stringTableEditor/StringTableEditor.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
plugin/Raven.SQDev.Editors/src/raven/sqdev/editors/IMacroSupport.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package raven.sqdev.editors; | ||
|
||
/** | ||
* An interface describing a class that provides macro-support | ||
* | ||
* @author Raven | ||
* | ||
*/ | ||
public interface IMacroSupport { | ||
|
||
/** | ||
* Adds a macro to this <code>IMacroSupport</code> | ||
* | ||
* @param macro | ||
* The <code>Macro</code> to add | ||
*/ | ||
public void addMacro(Macro macro); | ||
|
||
/** | ||
* Removes the given macro | ||
* | ||
* @param macro | ||
* The <code>Macro</code> to remove | ||
*/ | ||
public void removeMacro(Macro macro); | ||
} |
54 changes: 54 additions & 0 deletions
54
plugin/Raven.SQDev.Editors/src/raven/sqdev/editors/Macro.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package raven.sqdev.editors; | ||
|
||
import raven.sqdev.infoCollection.base.Keyword; | ||
|
||
/** | ||
* A class representing a defined macro expression | ||
* | ||
* @author Raven | ||
* | ||
*/ | ||
public class Macro extends Keyword { | ||
|
||
protected int arguments; | ||
|
||
/** | ||
* Creates a new macro that has no arguments | ||
* | ||
* @param name | ||
* The name of the macro | ||
*/ | ||
public Macro(String name) { | ||
super(name); | ||
arguments = 0; | ||
} | ||
|
||
/** | ||
* Creates a new macro | ||
* | ||
* @param name | ||
* The name of the macro | ||
* @param arguments | ||
* The number of arguments this macro can take | ||
*/ | ||
public Macro(String name, int arguments) { | ||
super(name); | ||
|
||
this.arguments = arguments; | ||
} | ||
|
||
/** | ||
* Gets the number of arguments this macro takes | ||
*/ | ||
public int getArgumentCount() { | ||
return arguments; | ||
} | ||
|
||
/** | ||
* Checks whether this macro uses any arguments | ||
*/ | ||
public boolean hasArguments() { | ||
return getArgumentCount() != 0; | ||
} | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
plugin/Raven.SQDev.Editors/src/raven/sqdev/editors/parser/preprocessor/Preprocessor.tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
IF=1 | ||
IFN=2 | ||
ELSE=3 | ||
ENDIF=4 | ||
DEFINE=5 | ||
UNDEFINE=6 | ||
INCLUDE=7 | ||
UNKNOWN=8 | ||
NUMBER=9 | ||
STRING=10 | ||
ID=11 | ||
ESC_LINEBREAK=12 | ||
LINEBREAK=13 | ||
WS=14 | ||
COMMENT=15 | ||
ANY=16 | ||
'#ifdef'=1 | ||
'#ifndef'=2 | ||
'#else'=3 | ||
'#endif'=4 | ||
'#define'=5 | ||
'#undef'=6 | ||
'#include'=7 |
123 changes: 123 additions & 0 deletions
123
...n.SQDev.Editors/src/raven/sqdev/editors/parser/preprocessor/PreprocessorBaseListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
// Generated from Preprocessor.g4 by ANTLR 4.5.3 | ||
package raven.sqdev.editors.parser.preprocessor; | ||
|
||
import org.antlr.v4.runtime.ParserRuleContext; | ||
import org.antlr.v4.runtime.tree.ErrorNode; | ||
import org.antlr.v4.runtime.tree.TerminalNode; | ||
|
||
/** | ||
* This class provides an empty implementation of {@link PreprocessorListener}, | ||
* which can be extended to create a listener which only needs to handle a subset | ||
* of the available methods. | ||
*/ | ||
public class PreprocessorBaseListener implements PreprocessorListener { | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterStart(PreprocessorParser.StartContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitStart(PreprocessorParser.StartContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterPreprocessing(PreprocessorParser.PreprocessingContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitPreprocessing(PreprocessorParser.PreprocessingContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterIfBlock(PreprocessorParser.IfBlockContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitIfBlock(PreprocessorParser.IfBlockContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterDefine(PreprocessorParser.DefineContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitDefine(PreprocessorParser.DefineContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterUndefine(PreprocessorParser.UndefineContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitUndefine(PreprocessorParser.UndefineContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterInclude(PreprocessorParser.IncludeContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitInclude(PreprocessorParser.IncludeContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterError(PreprocessorParser.ErrorContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitError(PreprocessorParser.ErrorContext ctx) { } | ||
|
||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void enterEveryRule(ParserRuleContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void exitEveryRule(ParserRuleContext ctx) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void visitTerminal(TerminalNode node) { } | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* <p>The default implementation does nothing.</p> | ||
*/ | ||
@Override public void visitErrorNode(ErrorNode node) { } | ||
} |
Oops, something went wrong.