Package spoon.support.sniper.internal
Class TokenSourceFragment
java.lang.Object
spoon.support.sniper.internal.TokenSourceFragment
- All Implemented Interfaces:
SourceFragment
a
SourceFragment
of some primitive String token,
like separator, operator, whitespace, ...-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TokenSourceFragment
-
-
Method Details
-
getSourceCode
- Specified by:
getSourceCode
in interfaceSourceFragment
- Returns:
- origin source code of whole fragment represented by this instance
-
getType
- Returns:
- type of token of this fragment
-
toString
-