public String getRuleName(int index) {if ( parser!=null && index>=0 ) return parser.getRuleNames()[index];return "<rule "+index+">";}

public string GetRuleName(int index){if (parser != null && index >= 0) return parser.RuleNames[index];return "<rule " + index + ">";}
