add doc for SourceParser