RubyIntermediateAst
io.joern.rubysrc2cpg.astcreation.RubyIntermediateAst
object RubyIntermediateAst
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RubyIntermediateAst.type
Members list
Type members
Classlikes
final case class AnonymousClassDeclaration(name: RubyNode, baseClass: Option[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode, AnonymousTypeDeclaration
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AnonymousTypeDeclarationtrait TypeDeclarationclass RubyNodeclass Objecttrait Matchableclass AnyShow all
sealed trait AnonymousTypeDeclaration extends RubyNode, TypeDeclaration
Attributes
- Supertypes
- Known subtypes
-
final case class ArrayLiteral(elements: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ArrayParameter(name: Option[String])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class Association(key: RubyNode, value: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class AttributeAssignment(target: RubyNode, op: String, attributeName: String, rhs: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class BinaryExpression(lhs: RubyNode, op: String, rhs: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Represents a do
or { .. }
(braces) block.
Represents a do
or { .. }
(braces) block.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ClassDeclaration(name: RubyNode, baseClass: Option[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode, TypeDeclaration
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeDeclarationclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class DynamicLiteral(typeFullName: String, expressions: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ElsIfClause(condition: RubyNode, thenClause: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ElseClause(thenClause: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class EnsureClause(thenClause: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class FieldsDeclaration(fieldNames: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class HashLiteral(elements: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class HashParameter(name: Option[String])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class MandatoryParameter(name: String)(span: TextSpan) extends RubyNode, MethodParameter
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MethodParameterclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class MemberAccess(target: RubyNode, op: String, methodName: String)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class MethodDeclaration(methodName: String, parameters: List[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MandatoryParameterclass OptionalParameter
final case class ModuleDeclaration(name: RubyNode, body: RubyNode)(span: TextSpan) extends RubyNode, TypeDeclaration
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeDeclarationclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class MultipleAssignment(assignments: List[SingleAssignment])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ObjectInstantiation(clazz: RubyNode, arguments: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class OptionalParameter(name: String, defaultExpression: RubyNode)(span: TextSpan) extends RubyNode, MethodParameter
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MethodParameterclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ProcParameter(name: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class RangeExpression(lowerBound: RubyNode, upperBound: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class ReturnExpression(expressions: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait AnonymousTypeDeclarationclass ArrayLiteralclass ArrayParameterclass Associationclass AttributeAssignmentclass BinaryExpressionclass Blockclass CaseExpressionclass ClassDeclarationclass ConditionalExpressionclass DynamicLiteralclass ElsIfClauseclass ElseClauseclass EnsureClauseclass FieldsDeclarationclass ForExpressionclass HashLiteralclass HashParameterclass IfExpressionclass IndexAccessclass MandatoryParameterclass MemberAccessclass MemberCallclass MemberCallWithBlockclass MethodDeclarationclass ModuleDeclarationclass MultipleAssignmentclass ObjectInstantiationclass OptionalParameterclass ProcParameterclass RangeExpressionclass RescueClauseclass RescueExpressionclass ReturnExpressionclass SelfIdentifierclass SimpleCallclass SimpleCallWithBlockclass SimpleIdentifierclass SingleAssignmentclass SplattingRubyNodeclass StatementListclass StaticLiteralclass UnaryExpressionclass Unknownclass UnlessExpressionclass UntilExpressionclass WhenClauseclass WhileExpressionShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
final case class SelfIdentifier()(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class SingleAssignment(lhs: RubyNode, op: String, rhs: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class SingletonClassDeclaration(name: RubyNode, baseClass: Option[RubyNode], body: RubyNode)(span: TextSpan) extends RubyNode, AnonymousTypeDeclaration
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AnonymousTypeDeclarationtrait TypeDeclarationclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class SplattingRubyNode(name: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class StatementList(statements: List[RubyNode])(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class StaticLiteral(typeFullName: String)(span: TextSpan) extends RubyNode
Represents a non-interpolated literal.
Represents a non-interpolated literal.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
case class TextSpan(line: Option[Integer], column: Option[Integer], lineEnd: Option[Integer], columnEnd: Option[Integer], text: String)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
final case class UnaryExpression(op: String, expression: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class UntilExpression(condition: RubyNode, body: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
Implicits
Implicits
In this article