EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.gmf.resource.editors]

COVERAGE SUMMARY FOR SOURCE FILE [XMLPartitionScanner.java]

nameclass, %method, %block, %line, %
XMLPartitionScanner.java0%   (0/1)0%   (0/1)0%   (0/35)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class XMLPartitionScanner0%   (0/1)0%   (0/1)0%   (0/35)0%   (0/8)
XMLPartitionScanner (): void 0%   (0/1)0%   (0/35)0%   (0/8)

1package de.uka.ipd.sdq.pcm.gmf.resource.editors;
2 
3import org.eclipse.jface.text.rules.IPredicateRule;
4import org.eclipse.jface.text.rules.IToken;
5import org.eclipse.jface.text.rules.MultiLineRule;
6import org.eclipse.jface.text.rules.RuleBasedPartitionScanner;
7import org.eclipse.jface.text.rules.Token;
8 
9public class XMLPartitionScanner extends RuleBasedPartitionScanner {
10        public final static String XML_COMMENT = "__xml_comment";
11        public final static String XML_TAG = "__xml_tag";
12 
13        public XMLPartitionScanner() {
14 
15                IToken xmlComment = new Token(XML_COMMENT);
16                IToken tag = new Token(XML_TAG);
17 
18                IPredicateRule[] rules = new IPredicateRule[2];
19 
20                rules[0] = new MultiLineRule("<!--", "-->", xmlComment);
21                rules[1] = new TagRule(tag);
22 
23                setPredicateRules(rules);
24        }
25}

[all classes][de.uka.ipd.sdq.pcm.gmf.resource.editors]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov