public void InterpreteChoice() { Dictionary <string, string> Choices = new Dictionary <string, string>(); string ChosenLabel = null; while (Expected(AST.Classification.Choice)) { AST NextChoiceAST = Input.Read(); string label = InterpreteIdentifier(NextChoiceAST.Target as AST) as string; string content = InterpreteString(NextChoiceAST.Value as AST) as string; Choices.Add(label, content); if (Expected(AST.Classification.LineBreak, RaiseException: true)) { Input.Read(); // Get rid of the Line Break AST } } OutputManager.Choices(Choices, ref ChosenLabel); LocateLabel(ChosenLabel); }