use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.
the class ClassLoaderTagParser method addNumberLoadedClasses.
/**
*/
private void addNumberLoadedClasses() {
ILineRule lineRule = new LineRule() {
public void processLine(String source, int startingOffset) {
addToken(CL_ATT_NMBR_LOADED_CL, CommonPatternMatchers.dec);
}
};
addTag(T_3CLNMBRLOADEDCL, lineRule);
}
use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.
the class ClassLoaderTagParser method addTextCLLib2.
/**
*/
private void addTextCLLib2() {
ILineRule lineRule = new ClassLoaderLineRule() {
public void processLine(String source, int startingOffset) {
matchLoaderAndAddAttNameAndAddress(ClassLoaderPatternMatchers.system, CommonPatternMatchers.java_absolute_name, CL_ATT__NAME);
addPrefixedHexToken(CL_ATT_ADDRESS);
}
};
addTag(T_2CLTEXTCLLIB, lineRule);
}
use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.
the class ClassLoaderTagParser method addTextLib.
/**
*/
private void addTextLib() {
ILineRule lineRule = new ClassLoaderLineRule() {
public void processLine(String source, int startingOffset) {
consumeUntilFirstMatch(CommonPatternMatchers.whitespace);
addToken(CL_ATT_LIB_NAME, CommonPatternMatchers.allButLineFeed);
}
};
addTag(T_3CLTEXTLIB, lineRule);
}
use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.
the class ClassLoaderTagParser method addNumberLoadedLib.
/**
*/
private void addNumberLoadedLib() {
ILineRule lineRule = new LineRule() {
public void processLine(String source, int startingOffset) {
addToken(CL_ATT_NMBR__LIB, CommonPatternMatchers.dec);
}
};
addTag(T_3CLNMBRLOADEDLIB, lineRule);
}
use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.
the class MemoryTagParser method addSectionDetails.
protected void addSectionDetails() {
ILineRule lineRule = new LineRule() {
public void processLine(String source, int startingOffset) {
if (addPrefixedHexToken(MEMORY_SEGMENT_ID) == null) {
addNonPrefixedHexToken(MEMORY_SEGMENT_ID);
addNonPrefixedHexToken(MEMORY_SEGMENT_HEAD);
addNonPrefixedHexToken(MEMORY_SEGMENT_FREE);
addNonPrefixedHexToken(MEMORY_SEGMENT_TAIL);
addNonPrefixedHexToken(MEMORY_SEGMENT_TYPE);
addNonPrefixedHexToken(MEMORY_SEGMENT_SIZE);
} else {
addPrefixedHexToken(MEMORY_SEGMENT_HEAD);
addPrefixedHexToken(MEMORY_SEGMENT_FREE);
addPrefixedHexToken(MEMORY_SEGMENT_TAIL);
addPrefixedHexToken(MEMORY_SEGMENT_TYPE);
addPrefixedHexToken(MEMORY_SEGMENT_SIZE);
}
;
}
};
addTag(T_1STSEGMENT, lineRule);
}
Aggregations