|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.ui.FunctionPrototypeSummary
public class FunctionPrototypeSummary
This class is a helper class which takes care of implementing some of the function prototype parsing and stripping.
Constructor Summary | |
---|---|
FunctionPrototypeSummary(java.lang.String proto)
Create a function prototype summary based on a prototype string. |
Method Summary | |
---|---|
java.lang.String |
getArguments()
Get the arguments of the function. |
java.lang.String |
getName()
Get the name of the function. |
java.lang.String |
getPrototypeString(boolean namefirst)
Get a nice user defined string. |
java.lang.String |
getPrototypeString(boolean namefirst,
boolean appendReturnType)
|
java.lang.String |
getReturnType()
Get the return type of the function. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionPrototypeSummary(java.lang.String proto)
proto
- The string describing the prototype which is properly
formed with following format -- returntype function(arguments)
The following formats will be converted as follows:
function(arguments) --> function(arguments) //constructors!
returntype function --> returntype function()
function --> void function()Method Detail |
---|
public java.lang.String getName()
IFunctionSummary.IFunctionPrototypeSummary
getName
in interface IFunctionSummary.IFunctionPrototypeSummary
public java.lang.String getReturnType()
IFunctionSummary.IFunctionPrototypeSummary
getReturnType
in interface IFunctionSummary.IFunctionPrototypeSummary
public java.lang.String getArguments()
IFunctionSummary.IFunctionPrototypeSummary
getArguments
in interface IFunctionSummary.IFunctionPrototypeSummary
public java.lang.String getPrototypeString(boolean namefirst)
IFunctionSummary.IFunctionPrototypeSummary
getPrototypeString
in interface IFunctionSummary.IFunctionPrototypeSummary
public java.lang.String getPrototypeString(boolean namefirst, boolean appendReturnType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |