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 TypeMethodDescriptionvoidAddTokenGroup(Object obj) Child(int i) voiddecode(Decoder decoder, PcodeFactory pfactory) voiditerator()intParent()voidsetHighlight(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, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClangTokenGroup
-
-
Method Details
-
getMinAddress
- Specified by:
getMinAddressin interfaceClangNode
-
getMaxAddress
- Specified by:
getMaxAddressin interfaceClangNode
-
AddTokenGroup
-
Parent
-
numChildren
public int numChildren()- Specified by:
numChildrenin interfaceClangNode
-
Child
-
getClangFunction
- Specified by:
getClangFunctionin interfaceClangNode
-
setHighlight
- Specified by:
setHighlightin interfaceClangNode
-
flatten
-
decode
- Throws:
DecoderException
-
toString
-
iterator
-
stream
Gets a stream over this group's children- Returns:
- a stream of this group's children
-