1 19 20 package org.netbeans.editor.ext.java; 21 22 import org.netbeans.editor.Syntax; 23 import org.netbeans.editor.SyntaxSupport; 24 import org.netbeans.editor.TokenID; 25 import org.netbeans.editor.ext.MultiSyntax; 26 27 34 35 public class JavaDocSyntax extends MultiSyntax { 36 37 private static final int HTML_ON = 0; 39 private static final int ISI_ERROR = 1; 41 public JavaDocSyntax() { 42 } 43 44 protected TokenID parseToken() { 45 char actChar; 46 47 while(offset < stopOffset) { 48 actChar = buffer[offset]; 49 switch (state) { 50 51 52 } 54 } 56 60 61 if (lastBuffer) { 62 switch(state) { 63 64 } 65 } 66 67 return null; 68 69 } 70 71 72 } 73 | Popular Tags |