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

io.shiftleft.queryprimitives.utils.MemberAccess.scala Maven / Gradle / Ivy

There is a newer version: 0.9.322
Show newest version
package io.shiftleft.queryprimitives.utils

import io.shiftleft.codepropertygraph.generated.Operators

object MemberAccess {

  /**
    * For a given name, determine whether it is the
    * name of a "member access" operation, e.g.,
    * ".memberAccess".
    * */
  def isGenericMemberAccessName(name: String): Boolean = {
    (name == Operators.memberAccess) ||
    (name == Operators.indirectComputedMemberAccess) ||
    (name == Operators.indirectMemberAccess) ||
    (name == Operators.computedMemberAccess) ||
    (name == Operators.indirection)
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy