simple_detective: Simple detective

View source: R/detectives.R

simple_detectiveR Documentation

Simple detective

Description

This detective only uses semantic information to make its investigation.

Usage

simple_detective(x, ...)

Arguments

x

output of the parser. The detective is only interested in the token column of the data.

...

ignored

Value

a vector of styles grouping similar tokens together

Examples

## Not run: 
p <- parse( text = deparse( jitter ), keep.source=TRUE )
simple_detective( p )

## End(Not run)

highlight documentation built on Jan. 22, 2023, 1:38 a.m.