![JAR search and dependency download from the Maven repository](/logo.png)
com.hypertino.parser.eval.EmptyContext.scala Maven / Gradle / Ivy
The newest version!
package com.hypertino.parser.eval
import com.hypertino.binders.value.Value
import com.hypertino.parser.ast.Identifier
object EmptyContext extends Context {
override def identifier: PartialFunction[Identifier, Value] = Map.empty
override def function: PartialFunction[(Identifier, Seq[Value]), Value] = Map.empty
override def unaryOperation: PartialFunction[(Identifier, Value), Value] = Map.empty
override def binaryOperation: PartialFunction[(Value, Identifier, Value), Value] = Map.empty
override def binaryOperationLeftArgument: PartialFunction[(Value, Identifier), Option[Value]] = Map.empty
override def customOperators = Seq.empty[String]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy