private int ProcessOptionsSection(int nextToken) { // find where the options start IEnumerator <SqlModuleOption> optionEnum = CodeObject.Options.GetEnumerator(); if (optionEnum.MoveNext()) { ProcessAndNormalizeWhitespaceRange(nextToken, optionEnum.Current.Position.startTokenNumber, FormatterUtilities.NormalizeNewLinesEnsureOneNewLineMinimum); // Process options ProcessChild(optionEnum.Current); SqlModuleOption previousOption = optionEnum.Current; while (optionEnum.MoveNext()) { CommaSeparatedList.ProcessInterChildRegion(previousOption, optionEnum.Current); ProcessChild(optionEnum.Current); previousOption = optionEnum.Current; } nextToken = previousOption.Position.endTokenNumber; } return(nextToken); }
public override void Visit(SqlModuleOption codeObject) { }