mirror of
https://github.com/github/semantic.git
synced 2024-12-01 17:59:10 +03:00
Correct the docs.
This commit is contained in:
parent
865f0e4c2d
commit
586db55ab3
@ -3,10 +3,12 @@
|
|||||||
Taggable allows projecting syntax terms to a list of named symbols. In order to
|
Taggable allows projecting syntax terms to a list of named symbols. In order to
|
||||||
identify a new syntax as Taggable, you need to:
|
identify a new syntax as Taggable, you need to:
|
||||||
|
|
||||||
1. Give that syntax a non-derived Taggable instance and implement at least the
|
1. Give that syntax a non-derived @TaggableBy 'Custom@ instance and implement at least the
|
||||||
'symbolName' method.
|
'symbolName'' method.
|
||||||
|
|
||||||
2. Make sure that 'symbolsToSummarize' in Tagging.hs includes the string
|
2. Add an equation to 'TaggableInstance' for the type with the value ''Custom'.
|
||||||
|
|
||||||
|
3. Make sure that 'symbolsToSummarize' in Tagging.hs includes the string
|
||||||
constructor name of this syntax.
|
constructor name of this syntax.
|
||||||
|
|
||||||
-}
|
-}
|
||||||
|
Loading…
Reference in New Issue
Block a user