Simple detective

Description

This detective only uses semantic information to make its investigation.

Usage

1

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

Note

the "default" stylesheet is well suited to work with this detective

Author(s)

Romain Francois <romain@r-enthusiasts.com>

See Also

dummy_detective

Examples

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

## End(Not run)