Package org.pkl.core.util.yaml
Class YamlCompatEmitter
- java.lang.Object
-
- org.pkl.core.util.yaml.YamlEmitter
-
- org.pkl.core.util.yaml.YamlCompatEmitter
-
public final class YamlCompatEmitter extends YamlEmitter
-
-
Field Summary
-
Fields inherited from class org.pkl.core.util.yaml.YamlEmitter
builder, indent
-
-
Constructor Summary
Constructors Constructor Description YamlCompatEmitter(java.lang.StringBuilder builder, java.lang.String indent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisNumber(java.lang.String str, int colonIndex)`Inf` and `NaN` are already taken care of byYamlEmitter.isReservedWord(String).protected booleanisReservedWord(java.lang.String str)-
Methods inherited from class org.pkl.core.util.yaml.YamlEmitter
create, emit, emit, emit, emit, emitNull, getResult, isReserved11Word
-
-
-
-
Method Detail
-
isReservedWord
protected boolean isReservedWord(java.lang.String str)
- Specified by:
isReservedWordin classYamlEmitter
-
isNumber
protected boolean isNumber(java.lang.String str, int colonIndex)Description copied from class:YamlEmitter`Inf` and `NaN` are already taken care of byYamlEmitter.isReservedWord(String).- Specified by:
isNumberin classYamlEmitter
-
-