object NLogoLabConverter extends AutoConvertable
- Source
- NLogoLabConverter.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NLogoLabConverter
- AutoConvertable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
autoConvert(model: Model, converter: AutoConverter): Either[(Model, Seq[Exception]), Model]
Converts the component and returns the updated model
Converts the component and returns the updated model
Returns an either which encapsulates the result of the conversion process. A left indicates that something went wrong and includes both the model, assumed to have undergone a best-effort conversion, and exceptions indicating failures encountered in conversion.
For instance, if a widget errors during conversion, the widget converter converts and returns a
Left
containing the model with the other widgets converted and the erroring widget unconverted, as well as the exceptions when converting the widgets- returns
Either a partially-converted model and exceptions, or a fully-converted model
- Definition Classes
- NLogoLabConverter → AutoConvertable
- def autoConvertProtocol(converter: AutoConverter)(protocol: LabProtocol): LabProtocol
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
componentDescription: String
- Definition Classes
- NLogoLabConverter → AutoConvertable
- def componentName: String
-
def
conversionSource(m: Model, literalParser: LiteralParser): Option[(String, String)]
- Definition Classes
- AutoConvertable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def needingConversion(needsConversion: (String) ⇒ Boolean, protocol: LabProtocol): Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
requiresAutoConversion(model: Model, needsConversion: (String) ⇒ Boolean): Boolean
- Definition Classes
- NLogoLabConverter → AutoConvertable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )