-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More refactor, overhaul, bytecode, etc
- Loading branch information
1 parent
9f7a877
commit bf4446a
Showing
121 changed files
with
28,574 additions
and
1,259 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 |
---|---|---|
|
@@ -352,3 +352,4 @@ MigrationBackup/ | |
# custom hasmer ignore | ||
**/launchSettings.json | ||
/hasmer/docs | ||
.netcoredbg_hist |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Hasmer.Assembler.Parser { | ||
/// <summary> | ||
/// The kind of data being declared in a ".data" declaration. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||
public enum HasmDataDeclarationKind { | ||
String, | ||
Integer, | ||
Number, | ||
Null, | ||
True, | ||
False | ||
} | ||
|
||
/// <summary> | ||
/// Represents a ".data" declaration. | ||
/// </summary> | ||
public class HasmDataDeclaration { | ||
/// <summary> | ||
/// The label of the data. | ||
/// </summary> | ||
public HasmLabelToken Label { get; set; } | ||
|
||
/// <summary> | ||
/// The kind of the data. | ||
/// </summary> | ||
public HasmDataDeclarationKind Kind { get; set; } | ||
|
||
/// <summary> | ||
/// The amount of distinct items in the data declaration. | ||
/// In declarations where there are specific elements, this is equal to <see cref="Elements.Length" />. | ||
/// In declarations where elements are repeated (i.e. Null, True, or False), this is equal to the supplied repeat count. | ||
/// </summary> | ||
public int Count { get; set; } | ||
|
||
/// <summary> | ||
/// The tokens that define the contents of the data, if there are specific elements. | ||
/// </summary> | ||
public List<HasmLiteralToken> Elements { get; set; } | ||
} | ||
} |
Oops, something went wrong.