semanticcpg apidocs
2.0.281
semanticcpg apidocs
API
io.joern.swiftsrc2cpg
astcreation
AstCreator
AstCreatorHelper
OptionSafeAst
AstCreatorHelper
AstForDeclSyntaxCreator
AstAndMethod
AstForExprSyntaxCreator
AstForPatternSyntaxCreator
AstForStmtSyntaxCreator
AstForSwiftTokenCreator
AstForSyntaxCollectionCreator
AstForSyntaxCreator
AstForTypeSyntaxCreator
AstNodeBuilder
datastructures
BlockScope
BlockScopeElement
MethodScope
MethodScopeElement
PendingReference
ResolvedReference
Scope
Scope
ScopeElement
ScopeElementIterator
ScopeType
SwiftGlobal
ConstructorBlocks
parser
SwiftJsonParser
ParseResult
SwiftNodeSyntax
AccessorBlockSyntax
AccessorDeclListSyntax
AccessorDeclSyntax
AccessorEffectSpecifiersSyntax
AccessorParametersSyntax
ActorDeclSyntax
ArrayElementListSyntax
ArrayElementSyntax
ArrayExprSyntax
ArrayTypeSyntax
ArrowExprSyntax
AsExprSyntax
AssignmentExprSyntax
AssociatedTypeDeclSyntax
AttributeListSyntax
AttributeSyntax
AttributedTypeSyntax
AvailabilityArgumentListSyntax
AvailabilityArgumentSyntax
AvailabilityConditionSyntax
AvailabilityLabeledArgumentSyntax
AwaitExprSyntax
BackDeployedAttributeArgumentsSyntax
BinaryOperatorExprSyntax
BooleanLiteralExprSyntax
BorrowExprSyntax
Braced
BreakStmtSyntax
CanImportExprSyntax
CanImportVersionInfoSyntax
CatchClauseListSyntax
CatchClauseSyntax
CatchItemListSyntax
CatchItemSyntax
ClassDeclSyntax
ClassRestrictionTypeSyntax
ClosureCaptureClauseSyntax
ClosureCaptureListSyntax
ClosureCaptureSpecifierSyntax
ClosureCaptureSyntax
ClosureExprSyntax
ClosureParameterClauseSyntax
ClosureParameterListSyntax
ClosureParameterSyntax
ClosureShorthandParameterListSyntax
ClosureShorthandParameterSyntax
ClosureSignatureSyntax
CodeBlockItemListSyntax
CodeBlockItemSyntax
CodeBlockSyntax
CompositionTypeElementListSyntax
CompositionTypeElementSyntax
CompositionTypeSyntax
ConditionElementListSyntax
ConditionElementSyntax
ConformanceRequirementSyntax
ConsumeExprSyntax
ContinueStmtSyntax
ConventionAttributeArgumentsSyntax
ConventionWitnessMethodAttributeArgumentsSyntax
CopyExprSyntax
DeclGroup
DeclModifierDetailSyntax
DeclModifierListSyntax
DeclModifierSyntax
DeclNameArgumentListSyntax
DeclNameArgumentSyntax
DeclNameArgumentsSyntax
DeclReferenceExprSyntax
DeclSyntax
DeferStmtSyntax
DeinitializerDeclSyntax
DeinitializerEffectSpecifiersSyntax
DerivativeAttributeArgumentsSyntax
DesignatedTypeListSyntax
DesignatedTypeSyntax
DictionaryElementListSyntax
DictionaryElementSyntax
DictionaryExprSyntax
DictionaryTypeSyntax
DifferentiabilityArgumentListSyntax
DifferentiabilityArgumentSyntax
DifferentiabilityArgumentsSyntax
DifferentiabilityWithRespectToArgumentSyntax
DifferentiableAttributeArgumentsSyntax
DiscardAssignmentExprSyntax
DiscardStmtSyntax
DoExprSyntax
DoStmtSyntax
DocumentationAttributeArgumentListSyntax
DocumentationAttributeArgumentSyntax
DynamicReplacementAttributeArgumentsSyntax
EditorPlaceholderDeclSyntax
EditorPlaceholderExprSyntax
EffectSpecifiers
EffectsAttributeArgumentListSyntax
EnumCaseDeclSyntax
EnumCaseElementListSyntax
EnumCaseElementSyntax
EnumCaseParameterClauseSyntax
EnumCaseParameterListSyntax
EnumCaseParameterSyntax
EnumDeclSyntax
ExposeAttributeArgumentsSyntax
ExprListSyntax
ExprSyntax
ExpressionPatternSyntax
ExpressionSegmentSyntax
ExpressionStmtSyntax
ExtensionDeclSyntax
FallThroughStmtSyntax
FloatLiteralExprSyntax
ForStmtSyntax
ForceUnwrapExprSyntax
FreestandingMacroExpansion
FunctionCallExprSyntax
FunctionDeclSyntax
FunctionEffectSpecifiersSyntax
FunctionParameterClauseSyntax
FunctionParameterListSyntax
FunctionParameterSyntax
FunctionSignatureSyntax
FunctionTypeSyntax
GenericArgumentClauseSyntax
GenericArgumentListSyntax
GenericArgumentSyntax
GenericParameterClauseSyntax
GenericParameterListSyntax
GenericParameterSyntax
GenericRequirementListSyntax
GenericRequirementSyntax
GenericSpecializationExprSyntax
GenericWhereClauseSyntax
GuardStmtSyntax
IdentifierPatternSyntax
IdentifierTypeSyntax
IfConfigClauseListSyntax
IfConfigClauseSyntax
IfConfigDeclSyntax
IfExprSyntax
ImplementsAttributeArgumentsSyntax
ImplicitlyUnwrappedOptionalTypeSyntax
ImportDeclSyntax
ImportPathComponentListSyntax
ImportPathComponentSyntax
InOutExprSyntax
InfixOperatorExprSyntax
InheritanceClauseSyntax
InheritedTypeListSyntax
InheritedTypeSyntax
InitializerClauseSyntax
InitializerDeclSyntax
IntegerLiteralExprSyntax
IsExprSyntax
IsTypePatternSyntax
KeyPathComponentListSyntax
KeyPathComponentSyntax
KeyPathExprSyntax
KeyPathOptionalComponentSyntax
KeyPathPropertyComponentSyntax
KeyPathSubscriptComponentSyntax
LabeledExprListSyntax
LabeledExprSyntax
LabeledSpecializeArgumentSyntax
LabeledStmtSyntax
LayoutRequirementSyntax
MacroDeclSyntax
MacroExpansionDeclSyntax
MacroExpansionExprSyntax
MatchingPatternConditionSyntax
MemberAccessExprSyntax
MemberBlockItemListSyntax
MemberBlockItemSyntax
MemberBlockSyntax
MemberTypeSyntax
MetatypeTypeSyntax
MissingDeclSyntax
MissingExprSyntax
MissingNode
MissingPatternSyntax
MissingStmtSyntax
MissingSyntax
MissingTypeSyntax
MultipleTrailingClosureElementListSyntax
MultipleTrailingClosureElementSyntax
NamedDecl
NamedOpaqueReturnTypeSyntax
NilLiteralExprSyntax
ObjCSelectorPieceListSyntax
ObjCSelectorPieceSyntax
OpaqueReturnTypeOfAttributeArgumentsSyntax
OperatorDeclSyntax
OperatorPrecedenceAndTypesSyntax
OptionalBindingConditionSyntax
OptionalChainingExprSyntax
OptionalTypeSyntax
OriginallyDefinedInAttributeArgumentsSyntax
PackElementExprSyntax
PackElementTypeSyntax
PackExpansionExprSyntax
PackExpansionTypeSyntax
Parenthesized
PatternBindingListSyntax
PatternBindingSyntax
PatternExprSyntax
PatternSyntax
PlatformVersionItemListSyntax
PlatformVersionItemSyntax
PlatformVersionSyntax
PostfixIfConfigExprSyntax
PostfixOperatorExprSyntax
PoundSourceLocationArgumentsSyntax
PoundSourceLocationSyntax
PrecedenceGroupAssignmentSyntax
PrecedenceGroupAssociativitySyntax
PrecedenceGroupAttributeListSyntax
PrecedenceGroupDeclSyntax
PrecedenceGroupNameListSyntax
PrecedenceGroupNameSyntax
PrecedenceGroupRelationSyntax
PrefixOperatorExprSyntax
PrimaryAssociatedTypeClauseSyntax
PrimaryAssociatedTypeListSyntax
PrimaryAssociatedTypeSyntax
ProtocolDeclSyntax
RegexLiteralExprSyntax
RepeatStmtSyntax
ReturnClauseSyntax
ReturnStmtSyntax
SameTypeRequirementSyntax
SequenceExprSyntax
SimpleStringLiteralExprSyntax
SimpleStringLiteralSegmentListSyntax
SomeOrAnyTypeSyntax
SourceFileSyntax
SpecializeAttributeArgumentListSyntax
SpecializeAvailabilityArgumentSyntax
SpecializeTargetFunctionArgumentSyntax
StmtSyntax
StringLiteralExprSyntax
StringLiteralSegmentListSyntax
StringSegmentSyntax
StructDeclSyntax
SubscriptCallExprSyntax
SubscriptDeclSyntax
SuperExprSyntax
SuppressedTypeSyntax
SwiftNode
SwiftToken
SwitchCaseItemListSyntax
SwitchCaseItemSyntax
SwitchCaseLabelSyntax
SwitchCaseListSyntax
SwitchCaseSyntax
SwitchDefaultLabelSyntax
SwitchExprSyntax
Syntax
SyntaxCollection
TernaryExprSyntax
ThenStmtSyntax
ThrowStmtSyntax
ThrownTypeClauseSyntax
TokenSyntax
TryExprSyntax
TupleExprSyntax
TuplePatternElementListSyntax
TuplePatternElementSyntax
TuplePatternSyntax
TupleTypeElementListSyntax
TupleTypeElementSyntax
TupleTypeSyntax
TypeAliasDeclSyntax
TypeAnnotationSyntax
TypeEffectSpecifiersSyntax
TypeExprSyntax
TypeInitializerClauseSyntax
TypeSyntax
UnavailableFromAsyncAttributeArgumentsSyntax
UnderscorePrivateAttributeArgumentsSyntax
UnexpectedNodesSyntax
UnresolvedAsExprSyntax
UnresolvedIsExprSyntax
UnresolvedTernaryExprSyntax
ValueBindingPatternSyntax
VariableDeclSyntax
VersionComponentListSyntax
VersionComponentSyntax
VersionTupleSyntax
WhereClauseSyntax
WhileStmtSyntax
WildcardPatternSyntax
WithAttributes
WithCodeBlock
WithGenericParameters
WithModifiers
WithStatements
WithTrailingComma
YieldStmtSyntax
YieldedExpressionListSyntax
YieldedExpressionSyntax
YieldedExpressionsClauseSyntax
arrow
atSign
backslash
backtick
binaryOperator
colon
comma
dollarIdentifier
ellipsis
endOfFile
equal
exclamationMark
floatLiteral
identifier
infixQuestionMark
integerLiteral
keyword
leftAngle
leftBrace
leftParen
leftSquare
multilineStringQuote
period
postfixOperator
postfixQuestionMark
pound
poundAvailable
poundElse
poundElseif
poundEndif
poundIf
poundSourceLocation
poundUnavailable
prefixAmpersand
prefixOperator
rawStringPoundDelimiter
regexLiteralPattern
regexPoundDelimiter
regexSlash
rightAngle
rightBrace
rightParen
rightSquare
semicolon
shebang
singleQuote
stringQuote
stringSegment
unknown
wildcard
passes
AstCreationPass
BuiltinTypesPass
ConstClosurePass
Defines
DependenciesPass
GlobalBuiltins
ImportsPass
SwiftInheritanceNamePass
SwiftMetaDataPass
SwiftTypeHintCallLinker
SwiftTypeNodePass
SwiftTypeRecoveryPassGenerator
utils
AstGenRunner
AstGenRunnerResult
AstGenRunner
ExternalCommand
Config
Frontend
Main
SwiftSrc2Cpg
SwiftSrc2Cpg
semanticcpg apidocs
/
io.joern.swiftsrc2cpg
/
io.joern.swiftsrc2cpg.astcreation
/
AstForSyntaxCreator
AstForSyntaxCreator
io.joern.swiftsrc2cpg.astcreation.AstForSyntaxCreator
trait
AstForSyntaxCreator
(
implicit
withSchemaValidation
:
ValidationMode
)
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
class
AstCreator
Self type
AstCreator
Members list
Clear all
Value members
Concrete methods
protected
def
astForSyntax
(
syntax
:
Syntax
):
Ast
In this article
Attributes
Members list
Value members
Concrete methods