Searched refs:symbol (Results 1 - 8 of 8) sorted by relevance
/opengrok-sun/src/org/opensolaris/opengrok/analysis/ |
H A D | Definitions.java | 54 /** Map from symbol to the line numbers on which the symbol is defined. */ 74 * Check if there is a tag for a symbol. 75 * @param symbol the symbol to check 76 * @return {@code true} iff there is a tag for {@code symbol} 78 public boolean hasSymbol(String symbol) { argument 79 return symbols.containsKey(symbol); 83 * Check whether the specified symbol is defined on the given line. 84 * @param symbol th 89 hasDefinitionAt(String symbol, int lineNumber, String[] strs) argument 118 occurrences(String symbol) argument 148 public final String symbol; field in class:Definitions.Tag 154 Tag(int line, String symbol, String type, String text) argument 162 addTag(int line, String symbol, String type, String text) argument [all...] |
H A D | JFlexXref.java | 237 * the type, and an array of (symbol, line) pairs for the definitions of 242 // No definitions, no symbol table to write 246 // We want the symbol table to be sorted 250 // Order by symbol name, and then by line number if multiple 251 // definitions use the same symbol name 252 int ret = tag1.symbol.compareTo(tag2.symbol); 297 out.append(Util.jsStringLiteral(tag.symbol)); 341 * Write a symbol and generate links as appropriate. 343 * @param symbol th 349 writeSymbol(String symbol, Set<String> keywords, int line) argument 364 writeSymbol( String symbol, Set<String> keywords, int line, boolean caseSensitive) argument [all...] |
H A D | Ctags.java | 277 String lnum, String symbol, String type, String text) { 278 // The strings are frequently repeated (a symbol can be used in 282 defs.addTag(Integer.parseInt(lnum), seenSymbols.intern(symbol.trim()), 276 addTag(Definitions defs, Interner<String> seenSymbols, String lnum, String symbol, String type, String text) argument
|
/opengrok-sun/test/org/opensolaris/opengrok/analysis/ |
H A D | CtagsTest.java | 120 assertEquals("method name", names[count], tag.symbol); 145 assertEquals("function name", names[count], tag.symbol);
|
/opengrok-sun/src/org/opensolaris/opengrok/search/ |
H A D | SearchEngine.java | 96 * Holds value of property symbol. 98 private String symbol; field in class:SearchEngine 138 .setRefs(symbol) 482 * Getter for property symbol. 484 * @return Value of property symbol. 487 return this.symbol; 491 * Setter for property symbol. 493 * @param symbol New value of property symbol. 495 public void setSymbol(String symbol) { argument [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/search/context/ |
H A D | Context.java | 146 if (m[i].match(tag.symbol) == LineMatcher.MATCHED) { 147 /* desc[0] is matched symbol 153 tag.symbol,
|
/opengrok-sun/web/ |
H A D | utils.js | 192 var symbol = symbols[j][0]; 195 + escape_html(symbol) + "</a><br/>";
|
/opengrok-sun/src/org/opensolaris/opengrok/web/ |
H A D | SearchHelper.java | 287 // is only one definition of that symbol in the document that matches. 294 String symbol = ((TermQuery) query).getTerm().text(); 295 if (tags.occurrences(symbol) == 1) {
|
Completed in 16 milliseconds