|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.dms.util.Utils | +--at.dms.kjc.SignatureParser
Parser for VM type and method signatures. Signatures are part of the Java Virtual Machine standard and describe the parameter types and returns types of methods.
Fields inherited from class at.dms.util.Utils |
DBG_LEVEL_HIGH, DBG_LEVEL_LOW, DBG_LEVEL_NO |
Constructor Summary | |
SignatureParser()
|
Method Summary | |
CType[] |
parseMethodSignature(java.lang.String signature)
Returns an array of types represented by the type signature For methods, the return type is the last element of the array |
CType |
parseSignature(java.lang.String signature)
Parse a java type signature. |
CType |
parseSignature(java.lang.String signature,
int from,
int to)
Parse a java type signature from the substring of signature that starts at index from and
ends just before to . |
Methods inherited from class at.dms.util.Utils |
assert, assert, fail, fail, hasFlag, hasMoreThanOneFlag, hasOtherFlags, splitQualifiedName, splitQualifiedName, vectorToArray, vectorToIntArray |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public SignatureParser()
Method Detail |
public final CType parseSignature(java.lang.String signature)
public CType parseSignature(java.lang.String signature, int from, int to)
signature
that starts at index from
and
ends just before to
.public CType[] parseMethodSignature(java.lang.String signature)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |