Record Class CParserUtils.CParseResults
java.lang.Object
java.lang.Record
ghidra.app.util.cparser.C.CParserUtils.CParseResults
- Enclosing class:
CParserUtils
public static record CParserUtils.CParseResults(PreProcessor preProcessor, String cppParseMessages, String cParseMessages, boolean successful)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCParseResults(PreProcessor preProcessor, String cppParseMessages, String cParseMessages, boolean successful) Creates an instance of aCParseResultsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecParseMessagesrecord component.Returns the value of thecppParseMessagesrecord component.final booleanIndicates whether some other object is "equal to" this one.getFormattedParseMessage(String errMsg) final inthashCode()Returns a hash code value for this object.Returns the value of thepreProcessorrecord component.booleanReturns the value of thesuccessfulrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CParseResults
public CParseResults(PreProcessor preProcessor, String cppParseMessages, String cParseMessages, boolean successful) Creates an instance of aCParseResultsrecord class.- Parameters:
preProcessor- the value for thepreProcessorrecord componentcppParseMessages- the value for thecppParseMessagesrecord componentcParseMessages- the value for thecParseMessagesrecord componentsuccessful- the value for thesuccessfulrecord component
-
-
Method Details
-
getFormattedParseMessage
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
preProcessor
Returns the value of thepreProcessorrecord component.- Returns:
- the value of the
preProcessorrecord component
-
cppParseMessages
Returns the value of thecppParseMessagesrecord component.- Returns:
- the value of the
cppParseMessagesrecord component
-
cParseMessages
Returns the value of thecParseMessagesrecord component.- Returns:
- the value of the
cParseMessagesrecord component
-
successful
public boolean successful()Returns the value of thesuccessfulrecord component.- Returns:
- the value of the
successfulrecord component
-