CdtParser

io.joern.c2cpg.parser.CdtParser
See theCdtParser companion object

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def parse(file: Path): Option[IASTTranslationUnit]
def preprocessorStatements(file: Path): Iterable[IASTPreprocessorStatement]

Inherited methods

protected def extractParseException(exception: Throwable): String

The exception message might be null for parse failures due to ambiguous nodes that can't be resolved successfully. We extract better log messages for this case here.

The exception message might be null for parse failures due to ambiguous nodes that can't be resolved successfully. We extract better log messages for this case here.

Attributes

Inherited from:
ParseProblemsLogger
protected def logPreprocessorStatements(translationUnit: IASTTranslationUnit): Unit

Attributes

Inherited from:
PreprocessorStatementsLogger
protected def logProblems(problems: List[IASTProblem]): Unit

Attributes

Inherited from:
ParseProblemsLogger
protected def preprocessorStatements(translationUnit: IASTTranslationUnit): Iterable[IASTPreprocessorStatement]

Attributes

Inherited from:
PreprocessorStatementsLogger