anchor.diff:      String value = parser.computeStringValue(lexeme, first, last);
       listener.assertNoErrors();
       return value;
  -  }
  -
  -  void _expectCommentText(Comment comment, String expectedText) {
  -    expect(comment.beginToken, same(comment.endToken));
  -    expect(comment.beginToken.lexeme, expectedText);
  -  }
  -
  -  void _expectDottedName(DottedName name, List<String> expectedComponents) {
  -    int count = expectedComponents.length;
  -    NodeList<SimpleIdentifier> components = name.components;
  -    expect(components, hasLength(count));
  -    for (int i = 0; i < count; i++) {
  -      SimpleIdentifier component = components[i];
  -      expect(component, isNotNull);
  -      expect(component.name, expectedComponents[i]);
  -    }
     }
   
     /**
  
positive.code:     FieldDeclaration declaration = parser.parseClassMember('C');
      expectNotNullIfNoErrors(declaration);
      listener.assertNoErrors();
      _expectCommentText(declaration.documentationComment, '/// Doc');
      VariableDeclarationList fields = declaration.fields;
      expect(fields, isNotNull);
      expect(fields.keyword.lexeme, 'var');
  
negative.code:   void setUp() {
      super.setUp();
      parseFunctionBodies = true;
    }
  }
  
  /**
   * Helper methods that aid in parser tests.
   *
   * Intended to be mixed in to parser test case classes.
   */
  class ParserTestHelpers {
    void expectCommentText(Comment comment, String expectedText) {
      expect(comment.beginToken, same(comment.endToken));
      expect(comment.beginToken.lexeme, expectedText);
    }
  
    void expectDottedName(DottedName name, List<String> expectedComponents) {
      int count = expectedComponents.length;
      NodeList<SimpleIdentifier> components = name.components;
      expect(components, hasLength(count));
      for (int i = 0; i < count; i++) {
        SimpleIdentifier component = components[i];
        expect(component, isNotNull);
        expect(component.name, expectedComponents[i]);
      }
    }
  }
  
  