Exemplo n.º 1
0
 public DebugRoutineDirective([NotNull] AsmExpr file, [NotNull] AsmExpr line, [NotNull] AsmExpr column,
                              [NotNull] string name, [ItemNotNull][NotNull] IEnumerable <string> locals)
     : base(file, line, column)
 {
     Name   = name;
     Locals = new List <string>(locals);
 }
Exemplo n.º 2
0
        public static bool IsQuote([NotNull] this AsmExpr asmExpr, out AsmExpr inner)
        {
            if (asmExpr is QuoteExpr quote)
            {
                inner = quote.Inner;
                return(true);
            }

            inner = null;
            return(false);
        }
Exemplo n.º 3
0
 public DebugClassDirective([NotNull] string name,
                            [NotNull] AsmExpr startFile, [NotNull] AsmExpr startLine, [NotNull] AsmExpr startColumn,
                            [NotNull] AsmExpr endFile, [NotNull] AsmExpr endLine, [NotNull] AsmExpr endColumn)
 {
     Name        = name;
     StartFile   = startFile;
     StartLine   = startLine;
     StartColumn = startColumn;
     EndFile     = endFile;
     EndLine     = endLine;
     EndColumn   = endColumn;
 }
Exemplo n.º 4
0
 public DebugObjectDirective([NotNull] AsmExpr number, [NotNull] string name,
                             [NotNull] AsmExpr startFile, [NotNull] AsmExpr startLine, [NotNull] AsmExpr startColumn,
                             [NotNull] AsmExpr endFile, [NotNull] AsmExpr endLine, [NotNull] AsmExpr endColumn)
 {
     Number      = number;
     Name        = name;
     StartFile   = startFile;
     StartLine   = startLine;
     StartColumn = startColumn;
     EndFile     = endFile;
     EndLine     = endLine;
     EndColumn   = endColumn;
 }
Exemplo n.º 5
0
 public ObjectDirective([NotNull] string name,
                        [NotNull] AsmExpr flags1, [NotNull] AsmExpr flags2, [CanBeNull] AsmExpr flags3,
                        [NotNull] AsmExpr parent, [NotNull] AsmExpr sibling, [NotNull] AsmExpr child,
                        [NotNull] AsmExpr propTable)
     : base(name)
 {
     Flags1    = flags1;
     Flags2    = flags2;
     Flags3    = flags3;
     Parent    = parent;
     Sibling   = sibling;
     Child     = child;
     PropTable = propTable;
 }
Exemplo n.º 6
0
 protected NumberAndNameDebugDirective([NotNull] AsmExpr number, [NotNull] string name)
 {
     Number = number;
     Name   = name;
 }
Exemplo n.º 7
0
 public NewDirective([CanBeNull] AsmExpr version)
 {
     Version = version;
 }
Exemplo n.º 8
0
 public Instruction([NotNull] string name, [NotNull] AsmExpr operand1)
     : this(name)
 {
     Operands.Add(operand1);
 }
Exemplo n.º 9
0
 public LangDirective([NotNull] AsmExpr langId, [NotNull] AsmExpr escapeChar)
 {
     LanguageId = langId;
     EscapeChar = escapeChar;
 }
Exemplo n.º 10
0
 public AlignDirective([NotNull] AsmExpr divisor)
 {
     Divisor = divisor;
 }
Exemplo n.º 11
0
 public DebugMapDirective([NotNull] string key, [CanBeNull] AsmExpr value)
 {
     Key   = key;
     Value = value;
 }
Exemplo n.º 12
0
 public DebugFileDirective([NotNull] AsmExpr number, [NotNull] string includeName, [NotNull] string actualName)
 {
     Number      = number;
     IncludeName = includeName;
     ActualName  = actualName;
 }
Exemplo n.º 13
0
 public TableDirective([CanBeNull] AsmExpr size)
 {
     Size = size;
 }
Exemplo n.º 14
0
 public DebugFakeActionDirective([NotNull] AsmExpr number, [NotNull] string name)
     : base(number, name)
 {
 }
Exemplo n.º 15
0
 public VocbegDirective([NotNull] AsmExpr recordSize, [NotNull] AsmExpr keySize)
 {
     RecordSize = recordSize;
     KeySize    = keySize;
 }
Exemplo n.º 16
0
 public FunctLocal([NotNull] string name, [CanBeNull] AsmExpr defaultValue)
 {
     Name         = name;
     DefaultValue = defaultValue;
 }
Exemplo n.º 17
0
 public Instruction([NotNull] string name, [NotNull] AsmExpr operand1, [NotNull] AsmExpr operand2, [NotNull] AsmExpr operand3, [NotNull] AsmExpr operand4)
     : this(name, operand1, operand2, operand3)
 {
     Operands.Add(operand4);
 }
Exemplo n.º 18
0
 public ChrsetDirective([NotNull] AsmExpr alphabetNum, [NotNull] IEnumerable <AsmExpr> characters)
 {
     CharsetNum = alphabetNum;
     Characters = new List <AsmExpr>(characters);
 }
Exemplo n.º 19
0
 public static bool IsStack([NotNull] this AsmExpr asmExpr)
 {
     return(asmExpr is SymbolExpr sym && sym.Text == "STACK");
 }
Exemplo n.º 20
0
 public DebugRoutineEndDirective([NotNull] AsmExpr file, [NotNull] AsmExpr line, [NotNull] AsmExpr column)
     : base(file, line, column)
 {
 }
Exemplo n.º 21
0
 public EqualsDirective([NotNull] string left, [NotNull] AsmExpr right)
 {
     Left  = left;
     Right = right;
 }
Exemplo n.º 22
0
 public DebugPropDirective([NotNull] AsmExpr number, [NotNull] string name)
     : base(number, name)
 {
 }
Exemplo n.º 23
0
 public PropDirective([NotNull] AsmExpr size, [NotNull] AsmExpr prop)
 {
     Size = size;
     Prop = prop;
 }
Exemplo n.º 24
0
 public GvarDirective([NotNull] string name, [CanBeNull] AsmExpr initialValue)
     : base(name)
 {
     InitialValue = initialValue;
 }
Exemplo n.º 25
0
 protected LineDebugDirective([NotNull] AsmExpr file, [NotNull] AsmExpr line, [NotNull] AsmExpr column)
 {
     TheFile   = file;
     TheLine   = line;
     TheColumn = column;
 }