mirror of
https://github.com/github/semantic.git
synced 2024-11-25 21:43:07 +03:00
Info just uses Strings as its categories.
This commit is contained in:
parent
4d07ed6fe7
commit
1f40f40869
@ -1,8 +1,8 @@
|
||||
/// Source info & categorization for nodes in a syntax tree.
|
||||
public enum Info: AlgebraicHashable, Categorizable, CustomDebugStringConvertible, CustomJSONConvertible {
|
||||
case Literal(String, Set<Category>)
|
||||
case Literal(String, Set<String>)
|
||||
|
||||
public var categories: Set<Category> {
|
||||
public var categories: Set<String> {
|
||||
switch self {
|
||||
case let .Literal(_, c):
|
||||
return c
|
||||
|
Loading…
Reference in New Issue
Block a user