All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.joern.kotlin2cpg.Constants.scala Maven / Gradle / Ivy

There is a newer version: 4.0.82
Show newest version
package io.joern.kotlin2cpg

object Constants {
  val alloc                          = "alloc"
  val caseNodeParserTypeName         = "CaseNode"
  val caseNodePrefix                 = "case"
  val codeForLoweredForBlock         = "FOR-BLOCK" // TODO: improve this
  val collectionsIteratorName        = "kotlin.collections.Iterator"
  val companionObjectMemberName      = "object"
  val componentNPrefix               = "component"
  val defaultCaseNode                = "default"
  val empty                          = ""
  val getIteratorMethodName          = "iterator"
  val hasNextIteratorMethodName      = "hasNext"
  val importKeyword                  = "import"
  val init                           = io.joern.x2cpg.Defines.ConstructorMethodName
  val iteratorPrefix                 = "iterator_"
  val javaUtilIterator               = "java.util.Iterator"
  val lambdaBindingName              = "invoke"    // the underlying _invoke_ fn for Kotlin FunctionX types
  val lambdaTypeDeclName             = "LAMBDA_TYPE_DECL"
  val nextIteratorMethodName         = "next"
  val codePropUndefinedValue         = ""
  val operatorSuffix                 = ""
  val paramNameLambdaDestructureDecl = "DESTRUCTURE_PARAM"
  val parserTypeName                 = "KOTLIN_PSI_PARSER"
  val retCode                        = "RET"
  val ret                            = "RET"
  val root                           = ""
  val this_                          = "this"
  val tmpLocalPrefix                 = "tmp_"
  val tryCode                        = "try"
  val unusedDestructuringEntryText   = "_"
  val unknownOperator                = ".unknown"
  val when                           = "when"
  val wildcardImportName             = "*"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy