Searched refs:spans (Results 1 - 17 of 17) sorted by relevance

/opengrok-jel/src/org/opensolaris/opengrok/analysis/sql/
H A DPLSQLXref.lex73 "'" { yybegin(STRING); out.append("<span class=\"s\">'"); spans.push("s"); }
75 \" { yybegin(QUOTED_IDENTIFIER); out.append("<span class=\"s\">\""); spans.push("s"); }
77 "--" { yybegin(SINGLE_LINE_COMMENT); out.append("<span class=\"c\">--"); spans.push("c"); }
82 out.append("<span class=\"c\">/*"); spans.push("c");
88 "'" { yybegin(YYINITIAL); out.append("'</span>"); spans.pop(); }
93 \" { yybegin(YYINITIAL); out.append("\"</span>"); spans.pop(); }
99 out.append("</span>"); spans.pop();
112 spans.pop();
H A DSQLXref.lex73 "'" { yybegin(STRING); out.append("<span class=\"s\">'"); spans.push("s"); }
75 \" { yybegin(QUOTED_IDENTIFIER); out.append("<span class=\"s\">\""); spans.push("s"); }
77 "--" { yybegin(SINGLE_LINE_COMMENT); out.append("<span class=\"c\">--"); spans.push("c"); }
82 out.append("<span class=\"c\">/*"); spans.push("c");
88 "'" { yybegin(YYINITIAL); out.append("'</span>"); spans.pop(); }
93 \" { yybegin(YYINITIAL); out.append("\"</span>"); spans.pop(); }
99 out.append("</span>"); spans.pop();
111 out.append("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/python/
H A DPythonXref.lex86 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
87 \"\"\" { yybegin(LSTRING);out.write("<span class=\"s\">\"\"\""); spans.push("s"); }
88 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
89 \'\'\' { yybegin(LQSTRING);out.write("<span class=\"s\">\'\'\'"); spans.push("s"); }
90 "#" { yybegin(SCOMMENT);out.write("<span class=\"c\">#"); spans.push("c"); }
94 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
98 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
107 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
109 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
116 \"\"\" { yybegin(YYINITIAL); out.write("\"\"\"</span>"); spans
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/lisp/
H A DLispXref.lex82 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
83 ";" { yybegin(SCOMMENT);out.write("<span class=\"c\">;"); spans.push("c"); }
88 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
97 spans.push("c");
108 spans.pop();
115 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/plain/
H A DXMLXref.lex60 "<!--" { yybegin(COMMENT); out.write("<span class=\"c\">&lt;!--"); spans.push("c"); }
63 out.write("&lt;<span class=\"n\">![CDATA[</span><span class=\"c\">"); spans.push("c");
71 \" { yybegin(STRING); out.write("<span class=\"s\">\""); spans.push("s"); }
72 \' { yybegin(SSTRING); out.write("<span class=\"s\">'"); spans.push("s"); }
79 \" { yybegin(TAG); out.write("\"</span>"); spans.pop(); }
89 \' { yybegin(TAG); out.write("'</span>"); spans.pop(); }
93 "-->" { yybegin(YYINITIAL); out.write("--&gt;</span>"); spans.pop(); }
98 yybegin(YYINITIAL); out.write("<span class=\"n\">]]</span></span>&gt;"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/php/
H A DPhpXref.lex133 out.write("<span class=\"c\">&lt;!--"); spans.push("c");
167 out.write("=<span class=\"s\">"); spans.push("s");
193 out.write("</span>"); spans.pop();
199 out.write("</span>"); spans.pop();
202 ">" { out.write("&gt;</span>"); spans.pop(); yypop(); yypop(); } //pop twice
205 <ATTRIBUTE_DOUBLE>\" { out.write("\"</span>"); spans.pop(); yypop(); }
206 <ATTRIBUTE_SINGLE>\' { out.write("'</span>"); spans.pop(); yypop(); }
210 out.write("</span>"); spans.pop();
212 out.write("<span class=\"s\">"); spans.push("s");
218 out.write("</span><strong>"); spans
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/perl/
H A DPerlXref.lex101 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
102 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
103 "#" { yybegin(SCOMMENT);out.write("<span class=\"c\">#"); spans.push("c"); }
104 ^ {Pods} { yybegin(POD);out.write("<span class=\"c\">"+yytext()); spans.push("c"); }
109 yybegin(YYINITIAL); out.write(yytext()+"</span>"); spans.pop();
116 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
120 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
129 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
131 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
138 yybegin(YYINITIAL); out.write("</span>"); spans
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/fortran/
H A DFortranXref.lex67 out.write("<span class=\"c\">"+commentStr); spans.push("c"); }
89 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
90 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
91 \! { yybegin(SCOMMENT);out.write("<span class=\"c\">!"); spans.push("c"); }
96 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
105 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
109 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); spans.pop(); }
113 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); spans.pop();
121 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/tcl/
H A DTclXref.lex75 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
76 "#" { yybegin(SCOMMENT);out.write("<span class=\"c\">#"); spans.push("c"); }
81 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
88 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/vb/
H A DVBXref.lex94 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
95 \' { yybegin(COMMENT);out.write("<span class=\"c\">\'"); spans.push("c"); }
100 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
102 \\\" { yybegin(YYINITIAL); out.write("\\\"</span>"); spans.pop(); }
108 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/sh/
H A DShXref.lex64 out.write("</span>"); spans.pop();
67 out.write("<span>"); spans.push("");
69 out.write("<span class=\"" + style + "\">"); spans.push(style);
77 out.write("</span>"); spans.pop();
83 out.write("<span>"); spans.push("");
85 out.write("<span class=\"" + style + "\">"); spans.push(style);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DJFlexXref.java68 * It is used to close all open spans for a line and re-open them at the
109 protected final SpanStack spans; field in class:JFlexXref
213 spans = new SpanStack();
313 if (spans.size() != 0) {
317 spans.clear();
460 if (spans.size() != 0) {
461 for (int i=spans.size()-1; i >= 0; i--) {
491 if (spans.size() != 0) {
492 for (String cname : spans) {
/opengrok-jel/src/org/opensolaris/opengrok/analysis/c/
H A DCXref.lex83 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
84 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
85 "/*" { yybegin(COMMENT);out.write("<span class=\"c\">/*"); spans.push("c"); }
86 "//" { yybegin(SCOMMENT);out.write("<span class=\"c\">//"); spans.push("c"); }
91 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
100 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
104 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); spans.pop(); }
108 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); spans.pop();
H A DCxxXref.lex83 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
84 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
85 "/*" { yybegin(COMMENT);out.write("<span class=\"c\">/*"); spans.push("c"); }
86 "//" { yybegin(SCOMMENT);out.write("<span class=\"c\">//"); spans.push("c"); }
91 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
100 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
104 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); spans.pop(); }
108 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/csharp/
H A DCSharpXref.lex93 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
94 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
95 "/*" { yybegin(COMMENT);out.write("<span class=\"c\">/*"); spans.push("c"); }
96 "//" { yybegin(SCOMMENT);out.write("<span class=\"c\">//"); spans.push("c"); }
101 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
110 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
116 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
121 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); spans.pop(); }
126 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/java/
H A DJavaXref.lex99 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
100 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
101 "/**" / [^/] { yybegin(JAVADOC);out.write("<span class=\"c\">/**"); spans.push("c"); }
102 "/*" { yybegin(COMMENT);out.write("<span class=\"c\">/*"); spans.push("c"); }
103 "//" { yybegin(SCOMMENT);out.write("<span class=\"c\">//"); spans.push("c"); }
108 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
117 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
121 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); spans.pop(); }
141 yybegin(YYINITIAL); out.write("</span>"); spans.pop();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/javascript/
H A DJavaScriptXref.lex93 \" { yybegin(STRING);out.write("<span class=\"s\">\""); spans.push("s"); }
94 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'"); spans.push("s"); }
95 "/*" { yybegin(COMMENT);out.write("<span class=\"c\">/*"); spans.push("c"); }
96 "//" { yybegin(SCOMMENT);out.write("<span class=\"c\">//"); spans.push("c"); }
101 \" { yybegin(YYINITIAL); out.write("\"</span>"); spans.pop(); }
110 \' { yybegin(YYINITIAL); out.write("'</span>"); spans.pop(); }
114 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); spans.pop(); }
119 yybegin(YYINITIAL); out.write("</span>"); spans.pop();

Completed in 28 milliseconds