Package ghidra.app.decompiler
Class ClangTokenGroup
java.lang.Object
ghidra.app.decompiler.ClangTokenGroup
- Direct Known Subclasses:
ClangFuncProto
,ClangFunction
,ClangReturnType
,ClangStatement
,ClangVariableDecl
A node in a tree of C code tokens.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
AddTokenGroup
(Object obj) Child
(int i) void
decode
(Decoder decoder, PcodeFactory pfactory) void
iterator()
int
Parent()
void
setHighlight
(Color val) stream()
Gets a stream over this group's childrentoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClangTokenGroup
-
-
Method Details
-
getMinAddress
- Specified by:
getMinAddress
in interfaceClangNode
-
getMaxAddress
- Specified by:
getMaxAddress
in interfaceClangNode
-
AddTokenGroup
-
Parent
-
numChildren
public int numChildren()- Specified by:
numChildren
in interfaceClangNode
-
Child
-
getClangFunction
- Specified by:
getClangFunction
in interfaceClangNode
-
setHighlight
- Specified by:
setHighlight
in interfaceClangNode
-
flatten
-
decode
- Throws:
DecoderException
-
toString
-
iterator
-
stream
Gets a stream over this group's children- Returns:
- a stream of this group's children
-