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 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
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
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()(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass 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
final case class ModuleDeclaration(moduleName: RubyNode, body: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RubyNodeclass Objecttrait Matchableclass AnyShow all
final case class OptionalParameter(name: RubyNode, defaultExpression: RubyNode)(span: TextSpan) extends RubyNode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass 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
-
class ArrayLiteralclass ArrayParameterclass Associationclass AttributeAssignmentclass BinaryExpressionclass Blockclass ClassDeclarationclass ConditionalExpressionclass DynamicLiteralclass ElsIfClauseclass ElseClauseclass EnsureClauseclass FieldsDeclarationclass HashLiteralclass HashParameterclass IfExpressionclass IndexAccessclass MandatoryParameterclass MemberAccessclass MemberCallclass MemberCallWithBlockclass MethodDeclarationclass ModuleDeclarationclass OptionalParameterclass ProcParameterclass RangeExpressionclass RescueClauseclass RescueExpressionclass ReturnExpressionclass SelfIdentifierclass SimpleCallclass SimpleCallWithBlockclass SimpleIdentifierclass SingleAssignmentclass StatementListclass StaticLiteralclass UnaryExpressionclass Unknownclass UnlessExpressionclass UntilExpressionclass 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
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
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
Implicits
Implicits
In this article