Implement a code span parser.