Commit 92cbc29c authored by Alexandru Dura's avatar Alexandru Dura
Browse files

Expose Category instead of symbol ID for SymbolLabel

parent 0ea05beb
......@@ -22,7 +22,7 @@ public class SymbolLabel extends NodeLabel {
return info.getCategory(symbol).toString() + ", " + super.start + ", " + super.end;
}
public int getSymbol(Grammar info) {
return symbol;
public Category getSymbol(Grammar info) {
return info.getCategory(symbol);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment