Domain

object Domain
class Object
trait Matchable
class Any
Domain.type

Type members

Classlikes

final case class NopStmt(attributes: PhpAttributes) extends PhpStmt
final case class PhpAliasAdaptation(traitName: Option[PhpNameExpr], methodName: PhpNameExpr, newModifier: Option[String], newName: Option[PhpNameExpr], attributes: PhpAttributes) extends PhpTraitUseAdaptation
final case class PhpArg(expr: PhpExpr, parameterName: Option[String], byRef: Boolean, unpack: Boolean, attributes: PhpAttributes) extends PhpArgument
Companion:
object
object PhpArg
Companion:
class
sealed abstract class PhpArgument extends PhpNode
final case class PhpArrayDimFetchExpr(variable: PhpExpr, dimension: Option[PhpExpr], attributes: PhpAttributes) extends PhpExpr
final case class PhpArrayExpr(items: List[Option[PhpArrayItem]], attributes: PhpAttributes) extends PhpExpr
final case class PhpArrayItem(key: Option[PhpExpr], value: PhpExpr, byRef: Boolean, unpack: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpArrowFunction(params: List[PhpParam], expr: PhpExpr, returnType: Option[PhpNameExpr], isStatic: Boolean, returnByRef: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpAssignment(assignOp: String, target: PhpExpr, source: PhpExpr, isRefAssign: Boolean, attributes: PhpAttributes) extends PhpExpr
Companion:
object
Companion:
class
final case class PhpAttributes(lineNumber: Option[Integer], kind: Option[Int])
Companion:
object
Companion:
class
final case class PhpBinaryOp(operator: String, left: PhpExpr, right: PhpExpr, attributes: PhpAttributes) extends PhpExpr
Companion:
object
Companion:
class
final case class PhpBreakStmt(num: Option[Int], attributes: PhpAttributes) extends PhpStmt
final case class PhpCallExpr(target: Option[PhpExpr], methodName: PhpExpr, args: Seq[PhpArgument], isNullSafe: Boolean, isStatic: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpCaseStmt(condition: Option[PhpExpr], stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpCast(typ: String, expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
Companion:
object
object PhpCast
Companion:
class
final case class PhpCatchStmt(types: List[PhpNameExpr], variable: Option[PhpExpr], stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpClassConstFetchExpr(className: PhpExpr, constantName: Option[PhpNameExpr], attributes: PhpAttributes) extends PhpExpr
final case class PhpClassLikeStmt(name: Option[PhpNameExpr], modifiers: List[String], extendsNames: List[PhpNameExpr], implementedInterfaces: List[PhpNameExpr], stmts: List[PhpStmt], classLikeType: String, scalarType: Option[PhpNameExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpCloneExpr(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpClosureExpr(params: List[PhpParam], stmts: List[PhpStmt], returnType: Option[PhpNameExpr], uses: List[PhpClosureUse], isStatic: Boolean, returnByRef: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpClosureUse(variable: PhpExpr, byRef: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpConstDeclaration(name: PhpNameExpr, value: PhpExpr, namespacedName: Option[PhpNameExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpConstFetchExpr(name: PhpNameExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpConstStmt(modifiers: List[String], consts: List[PhpConstDeclaration], attributes: PhpAttributes) extends PhpStmt
final case class PhpContinueStmt(num: Option[Int], attributes: PhpAttributes) extends PhpStmt
final case class PhpDeclareItem(key: PhpNameExpr, value: PhpExpr, attributes: PhpAttributes) extends PhpStmt
final case class PhpDeclareStmt(declares: Seq[PhpDeclareItem], stmts: Option[List[PhpStmt]], attributes: PhpAttributes) extends PhpStmt
final case class PhpDoStmt(cond: PhpExpr, stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpEchoStmt(exprs: Seq[PhpExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpElseIfStmt(cond: PhpExpr, stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpElseStmt(stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpEmptyExpr(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpEncapsed(parts: Seq[PhpExpr], attributes: PhpAttributes) extends PhpScalar
final case class PhpEncapsedPart(value: String, attributes: PhpAttributes) extends PhpScalar
Companion:
object
Companion:
class
final case class PhpEnumCaseStmt(name: PhpNameExpr, expr: Option[PhpExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpErrorSuppressExpr(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpEvalExpr(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpExitExpr(expr: Option[PhpExpr], attributes: PhpAttributes) extends PhpExpr
sealed abstract class PhpExpr extends PhpStmt
final case class PhpFile(children: Seq[PhpStmt])
final case class PhpFinallyStmt(stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpFloat(value: String, attributes: PhpAttributes) extends PhpSimpleScalar
final case class PhpForStmt(inits: List[PhpExpr], conditions: List[PhpExpr], loopExprs: List[PhpExpr], bodyStmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpForeachStmt(iterExpr: PhpExpr, keyVar: Option[PhpExpr], valueVar: PhpExpr, assignByRef: Boolean, stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpGlobalStmt(vars: List[PhpExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpGotoStmt(label: PhpNameExpr, attributes: PhpAttributes) extends PhpStmt
final case class PhpGroupUseStmt(prefix: PhpNameExpr, uses: List[PhpUseUse], useType: PhpUseType, attributes: PhpAttributes) extends PhpStmt
final case class PhpHaltCompilerStmt(attributes: PhpAttributes) extends PhpStmt
final case class PhpIfStmt(cond: PhpExpr, stmts: List[PhpStmt], elseIfs: List[PhpElseIfStmt], elseStmt: Option[PhpElseStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpIncludeExpr(expr: PhpExpr, includeType: String, attributes: PhpAttributes) extends PhpExpr
case object PhpIncludeType
final case class PhpInstanceOfExpr(expr: PhpExpr, className: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpInt(value: String, attributes: PhpAttributes) extends PhpSimpleScalar
final case class PhpIsset(vars: Seq[PhpExpr], attributes: PhpAttributes) extends PhpExpr
final case class PhpLabelStmt(label: PhpNameExpr, attributes: PhpAttributes) extends PhpStmt
final case class PhpListExpr(items: List[Option[PhpArrayItem]], attributes: PhpAttributes) extends PhpExpr
final case class PhpMatchArm(conditions: List[PhpExpr], body: PhpExpr, isDefault: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpMatchExpr(condition: PhpExpr, matchArms: List[PhpMatchArm], attributes: PhpAttributes) extends PhpExpr
final case class PhpMethodDecl(name: PhpNameExpr, params: Seq[PhpParam], modifiers: List[String], returnType: Option[PhpNameExpr], stmts: Seq[PhpStmt], returnByRef: Boolean, namespacedName: Option[PhpNameExpr], isClassMethod: Boolean, attributes: PhpAttributes) extends PhpStmt
final case class PhpNameExpr(name: String, attributes: PhpAttributes) extends PhpExpr
final case class PhpNamespaceStmt(name: Option[PhpNameExpr], stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpNewExpr(className: PhpNode, args: List[PhpArgument], attributes: PhpAttributes) extends PhpExpr
sealed abstract class PhpNode
final case class PhpParam(name: String, paramType: Option[PhpNameExpr], byRef: Boolean, isVariadic: Boolean, default: Option[PhpExpr], flags: Int, attributes: PhpAttributes) extends PhpNode
final case class PhpPrecedenceAdaptation(traitName: PhpNameExpr, methodName: PhpNameExpr, insteadOf: List[PhpNameExpr], attributes: PhpAttributes) extends PhpTraitUseAdaptation
final case class PhpPrint(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpPropertyFetchExpr(expr: PhpExpr, name: PhpExpr, isNullsafe: Boolean, isStatic: Boolean, attributes: PhpAttributes) extends PhpExpr
final case class PhpPropertyStmt(modifiers: List[String], variables: List[PhpPropertyValue], typeName: Option[PhpNameExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpPropertyValue(name: PhpNameExpr, defaultValue: Option[PhpExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpReturnStmt(expr: Option[PhpExpr], attributes: PhpAttributes) extends PhpStmt
sealed abstract class PhpScalar extends PhpExpr
final case class PhpShellExecExpr(parts: List[PhpExpr], attributes: PhpAttributes) extends PhpExpr
sealed abstract class PhpSimpleScalar extends PhpScalar
final case class PhpStaticStmt(vars: List[PhpStaticVar], attributes: PhpAttributes) extends PhpStmt
final case class PhpStaticVar(variable: PhpVariable, defaultValue: Option[PhpExpr], attributes: PhpAttributes) extends PhpStmt
sealed abstract class PhpStmt extends PhpNode
final case class PhpString(value: String, attributes: PhpAttributes) extends PhpSimpleScalar
Companion:
object
object PhpString
Companion:
class
final case class PhpSwitchStmt(condition: PhpExpr, cases: List[PhpCaseStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpTernaryOp(condition: PhpExpr, thenExpr: Option[PhpExpr], elseExpr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpThrowExpr(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
sealed abstract class PhpTraitUseAdaptation extends PhpStmt
final case class PhpTraitUseStmt(traits: List[PhpNameExpr], adaptations: List[PhpTraitUseAdaptation], attributes: PhpAttributes) extends PhpStmt
final case class PhpTryStmt(stmts: List[PhpStmt], catches: List[PhpCatchStmt], finallyStmt: Option[PhpFinallyStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpUnaryOp(operator: String, expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
Companion:
object
object PhpUnaryOp
Companion:
class
final case class PhpUnsetStmt(vars: List[PhpExpr], attributes: PhpAttributes) extends PhpStmt
final case class PhpUseStmt(uses: List[PhpUseUse], useType: PhpUseType, attributes: PhpAttributes) extends PhpStmt
case object PhpUseType
final case class PhpUseUse(originalName: PhpNameExpr, alias: Option[PhpNameExpr], useType: PhpUseType, attributes: PhpAttributes) extends PhpStmt
final case class PhpVariable(value: PhpExpr, attributes: PhpAttributes) extends PhpExpr
final case class PhpVariadicPlaceholder(attributes: PhpAttributes) extends PhpArgument
final case class PhpWhileStmt(cond: PhpExpr, stmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpYieldExpr(key: Option[PhpExpr], value: Option[PhpExpr], attributes: PhpAttributes) extends PhpExpr
final case class PhpYieldFromExpr(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr

Value members

Concrete methods

def fromJson(jsonInput: Value): PhpFile