-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organized vbs parser code Reorganized TODO comments in StatementFactory class Cleaned up code formatting
- Loading branch information
1 parent
7a00408
commit 7814d85
Showing
24 changed files
with
99 additions
and
106 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
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
2 changes: 1 addition & 1 deletion
2
...c_fusion1/kitsune/parser/vbs/Comment.java → ...n1/kitsune/parser/vbs/domain/Comment.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
2 changes: 1 addition & 1 deletion
2
...n1/kitsune/parser/vbs/ConstStatement.java → ...une/parser/vbs/domain/ConstStatement.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
17 changes: 1 addition & 16 deletions
17
...fusion1/kitsune/parser/vbs/Constants.java → .../kitsune/parser/vbs/domain/Constants.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 |
---|---|---|
@@ -1,36 +1,21 @@ | ||
package optic_fusion1.kitsune.parser.vbs; | ||
package optic_fusion1.kitsune.parser.vbs.domain; | ||
|
||
public final class Constants { | ||
|
||
public static final String FUNCTION_IDENTIFIER = "function"; | ||
|
||
public static final String END_FUNCTION_IDENTIFIER = "end"; | ||
|
||
public static final String DIM_IDENTIFIER = "dim"; | ||
|
||
public static final String FOR_IDENTIFIER = "for"; | ||
|
||
public static final String DO_WHILE_IDENTIFIER = "do while"; | ||
|
||
public static final String WHILE_IDENTIFIER = "while"; | ||
|
||
public static final String END_LOOP_REGEX = "(loop|next|wend)"; | ||
|
||
public static final String IF_IDENTIFIER = "if"; | ||
|
||
public static final String ELSE_IF_IDENTIFIER = "elseif"; | ||
|
||
public static final String END_IF_REGEX = "end if"; | ||
|
||
public static final String ELSE_IDENTIFIER = "else"; | ||
|
||
public static final String MSG_IDENTIFIER = "msg"; | ||
|
||
public static final String MSGBOX_IDENTIFIER = "msgbox"; | ||
|
||
public static final String SET_IDENTIFIER = "set"; | ||
|
||
public static final String CONST_IDENTIFIER = "const"; | ||
|
||
public static final String COMMENT_IDENTIFIER = "'"; | ||
} |
2 changes: 1 addition & 1 deletion
2
..._fusion1/kitsune/parser/vbs/DataType.java → ...1/kitsune/parser/vbs/domain/DataType.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
5 changes: 4 additions & 1 deletion
5
...1/kitsune/parser/vbs/ElseIfStatement.java → ...ne/parser/vbs/domain/ElseIfStatement.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
5 changes: 4 additions & 1 deletion
5
...on1/kitsune/parser/vbs/ElseStatement.java → ...sune/parser/vbs/domain/ElseStatement.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
2 changes: 1 addition & 1 deletion
2
...itsune/parser/vbs/EmptyLineStatement.java → ...parser/vbs/domain/EmptyLineStatement.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
5 changes: 4 additions & 1 deletion
5
...on1/kitsune/parser/vbs/FileContainer.java → ...sune/parser/vbs/domain/FileContainer.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
5 changes: 4 additions & 1 deletion
5
..._fusion1/kitsune/parser/vbs/Function.java → ...1/kitsune/parser/vbs/domain/Function.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
5 changes: 4 additions & 1 deletion
5
...sion1/kitsune/parser/vbs/IfStatement.java → ...itsune/parser/vbs/domain/IfStatement.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
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
Oops, something went wrong.