| extract_class | R Documentation |
Extract R6 Class
extract_class(content, start_pos = 1)
content |
Character, content of a file or a string |
start_pos |
Integer, row position of cursor. Serves as starting point to search for class definition |
A list with fields
class_contentCharacter, extracted class definition
startInteger, start position of class definition within 'content'
endInteger, end position of class definition within 'content'