RubyIntermediateAst

io.joern.rubysrc2cpg.astcreation.RubyIntermediateAst

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class ArrayLiteral(elements: List[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ArrayParameter(name: Option[String])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class Association(key: RubyNode, value: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class AttributeAssignment(target: RubyNode, op: String, attributeName: String, rhs: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class BinaryExpression(lhs: RubyNode, op: String, rhs: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class Block(parameters: List[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode

Represents a do or { .. } (braces) block.

Represents a do or { .. } (braces) block.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ClassDeclaration(className: RubyNode, baseClass: Option[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ConditionalExpression(condition: RubyNode, trueBranch: RubyNode, falseBranch: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class DynamicLiteral(typeFullName: String, expressions: List[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ElsIfClause(condition: RubyNode, thenClause: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ElseClause(thenClause: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class EnsureClause(thenClause: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class FieldsDeclaration(fieldNames: List[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class HashLiteral(elements: List[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class HashParameter(name: Option[String])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class IfExpression(condition: RubyNode, thenClause: RubyNode, elsifClauses: List[RubyNode], elseClause: Option[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class IndexAccess(target: RubyNode, indices: List[RubyNode])(span: TextSpan) extends RubyNode

Represents index accesses, e.g. x[0], self.x.y[1, 2]

Represents index accesses, e.g. x[0], self.x.y[1, 2]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class MandatoryParameter()(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class MemberAccess(target: RubyNode, op: String, methodName: String)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class MemberCall(target: RubyNode, op: String, methodName: String, arguments: List[RubyNode])(span: TextSpan) extends RubyNode

Represents member calls, e.g. x.y(z,w)

Represents member calls, e.g. x.y(z,w)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class MemberCallWithBlock(target: RubyNode, op: String, methodName: String, arguments: List[RubyNode], block: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class MethodDeclaration(methodName: String, parameters: List[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ModuleDeclaration(moduleName: RubyNode, body: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class OptionalParameter(name: RubyNode, defaultExpression: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ProcParameter(name: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class RangeExpression(lowerBound: RubyNode, upperBound: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class RescueClause(exceptionClassList: Option[RubyNode], assignment: Option[RubyNode], thenClause: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class RescueExpression(body: RubyNode, rescueClauses: List[RubyNode], elseClause: Option[RubyNode], ensureClause: Option[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class ReturnExpression(expressions: List[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
implicit class RubyNodeHelper(node: RubyNode)

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class SelfIdentifier()(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class SimpleCall(target: RubyNode, arguments: List[RubyNode])(span: TextSpan) extends RubyNode

Represents traditional calls, e.g. foo, foo x, y, foo(x,y)

Represents traditional calls, e.g. foo, foo x, y, foo(x,y)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class SimpleCallWithBlock(target: RubyNode, arguments: List[RubyNode], block: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class SimpleIdentifier(typeFullName: Option[String])(span: TextSpan) extends RubyNode

Represents an unqualified identifier e.g. X, x, @x, @@x, $x, $<, etc.

Represents an unqualified identifier e.g. X, x, @x, @@x, $x, $<, etc.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class SingleAssignment(lhs: RubyNode, op: String, rhs: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class SingletonMethodDeclaration(target: RubyNode, methodName: String, parameters: List[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class StatementList(statements: List[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class StaticLiteral(typeFullName: String)(span: TextSpan) extends RubyNode

Represents a non-interpolated literal.

Represents a non-interpolated literal.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
case class TextSpan(line: Option[Integer], column: Option[Integer], lineEnd: Option[Integer], columnEnd: Option[Integer], text: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnaryExpression(op: String, expression: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class Unknown()(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class UnlessExpression(condition: RubyNode, trueBranch: RubyNode, falseBranch: Option[RubyNode])(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class UntilExpression(condition: RubyNode, body: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all
final case class WhileExpression(condition: RubyNode, body: RubyNode)(span: TextSpan) extends RubyNode

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RubyNode
class Object
trait Matchable
class Any
Show all

Implicits

Implicits

final implicit def RubyNodeHelper(node: RubyNode): RubyNodeHelper