/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> public MacroDefinition(string macroName, int macroDefLine, int macroEndLine, List <string> argNames, string endLabel) { MacroName = macroName; Section = new DefinitionSection(macroDefLine, macroEndLine); ArgumentNames = argNames; EndLabel = endLabel; }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> public StructDefinition(string structName, int macroDefLine, int macroEndLine, bool caseSensitive) { StructName = structName; Section = new DefinitionSection(macroDefLine, macroEndLine); Fields = new Dictionary <string, FieldDefinition>( caseSensitive ? StringComparer.InvariantCulture : StringComparer.InvariantCultureIgnoreCase); }
public IfSection(StatementBase stmt, int firstLine, int lastLine) { IfStatement = stmt; Section = new DefinitionSection(firstLine, lastLine); }