public final class Flash extends Duration
nameOrNumber, time_periods, time_units, unit, us| Constructor and Description |
|---|
Flash(double d) |
Flash(double d,
String unit) |
Flash(IrpParser.FlashContext ctx) |
Flash(NameOrNumber non,
String unit) |
Flash(ParserDriver parserDriver) |
Flash(String str) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected Flash |
evaluatedDuration(GeneralSpec generalSpec,
NameEngine nameEngine)
Deliver an "evaluated" Duration (variables resolved) of the same subclass.
|
double |
evaluateWithSign(GeneralSpec generalSpec,
NameEngine nameEngine,
double elapsed) |
int |
hashCode() |
protected boolean |
isOn() |
IrStreamItem |
substituteConstantVariables(Map<String,Long> constantVariables)
Returns an IrStreamItem of the same type with all occurrences of the
variables in the dictionary replaced by their values in the dictionary.
|
allDurationsInMicros, assignmentVariables, constant, decode, endingDurationType, evaluate, evaluate, evaluate, extractPass, getTimeInUnits, getUnit, guessParameterLength, hasExtent, interleavingOk, interleavingOk, isEmpty, isOn, microSeconds, newDuration, newDuration, newDuration, newDuration, nonConstantBitFieldLength, numberOfBareDurations, numberOfBits, numberOfDurations, propertiesMap, recognize, render, startingDuratingType, toElement, toFloat, toIrpString, weightgetParseTree, numberOfBitSpecs, numberOfInfiniteRepeats, prerender, propertiesMap, stateWhenEntering, stateWhenExiting, toDocument, toIrpString, toString, toStringTree, toStringTree, toTreeViewer, toTreeViewer, toTreeViewerclone, finalize, getClass, notify, notifyAll, wait, wait, waitnewIrStreamItem, newIrStreamItem, newIrStreamItem, numberOfBitSpecs, numberOfInfiniteRepeats, propertiesMap, stateWhenEntering, stateWhenExitingtoDocumentnumberOfBitSpecs, propertiesMap, stateWhenEntering, stateWhenExitingpublic Flash(String str)
public Flash(ParserDriver parserDriver)
public Flash(IrpParser.FlashContext ctx)
public Flash(double d,
String unit)
public Flash(double d)
public Flash(NameOrNumber non, String unit)
public IrStreamItem substituteConstantVariables(Map<String,Long> constantVariables)
IrStreamItemconstantVariables - Map<String, Long> of variables to replace.public double evaluateWithSign(GeneralSpec generalSpec, NameEngine nameEngine, double elapsed) throws NameUnassignedException, IrpInvalidArgumentException
evaluateWithSign in class DurationNameUnassignedExceptionIrpInvalidArgumentExceptionprotected Flash evaluatedDuration(GeneralSpec generalSpec, NameEngine nameEngine) throws NameUnassignedException, IrpInvalidArgumentException
DurationevaluatedDuration in class DurationNameUnassignedExceptionIrpInvalidArgumentExceptionCopyright © 2019. All rights reserved.