Domain

object Domain
class Object
trait Matchable
class Any
Domain.type

Type members

Classlikes

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 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 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 PhpContinueStmt(num: Option[Int], 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 PhpEncapsed(parts: Seq[PhpExpr], attributes: PhpAttributes) extends PhpScalar
final case class PhpEncapsedPart(value: String, attributes: PhpAttributes) extends PhpScalar
Companion:
object
Companion:
class
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 PhpScalar
final case class PhpForStmt(inits: List[PhpExpr], conditions: List[PhpExpr], loopExprs: List[PhpExpr], bodyStmts: List[PhpStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpFuncCall(target: PhpExpr, args: Seq[PhpArgument], attributes: PhpAttributes) extends PhpExpr
final case class PhpIfStmt(cond: PhpExpr, stmts: List[PhpStmt], elseIfs: List[PhpElseIfStmt], elseStmt: Option[PhpElseStmt], attributes: PhpAttributes) extends PhpStmt
final case class PhpInt(value: String, attributes: PhpAttributes) extends PhpScalar
final case class PhpIsset(vars: Seq[PhpExpr], attributes: PhpAttributes) extends PhpExpr
final case class PhpMethodDecl(name: String, params: Seq[PhpParam], stmts: Seq[PhpStmt], returnByRef: Boolean, namespacedName: Option[String], attributes: PhpAttributes) extends PhpStmt
final case class PhpNameExpr(name: String, attributes: PhpAttributes) extends PhpExpr
sealed abstract class PhpNode
final case class PhpParam(name: String, byRef: Boolean, isVariadic: Boolean, default: Option[PhpExpr], flags: Int, attributes: PhpAttributes) extends PhpNode
final case class PhpPrint(expr: PhpExpr, attributes: PhpAttributes) extends PhpExpr
sealed abstract class PhpScalar extends PhpExpr
sealed abstract class PhpStmt extends PhpNode
final case class PhpString(value: String, attributes: PhpAttributes) extends PhpScalar
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
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 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

Value members

Concrete methods

def fromJson(jsonInput: Value): PhpFile