public class SkylarkRuleContextAttr extends Object implements com.google.devtools.build.lib.syntax.ClassObject, com.google.devtools.build.lib.skylarkinterface.SkylarkValue
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessageForUnknownField(String field) |
com.google.common.collect.ImmutableCollection<String> |
getFieldNames() |
Object |
getValue(String name) |
void |
repr(com.google.devtools.build.lib.skylarkinterface.SkylarkPrinter printer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Nullable public Object getValue(String name)
getValue
in interface com.google.devtools.build.lib.syntax.ClassObject
public com.google.common.collect.ImmutableCollection<String> getFieldNames()
getFieldNames
in interface com.google.devtools.build.lib.syntax.ClassObject
@Nullable public String getErrorMessageForUnknownField(String field)
getErrorMessageForUnknownField
in interface com.google.devtools.build.lib.syntax.ClassObject
public void repr(com.google.devtools.build.lib.skylarkinterface.SkylarkPrinter printer)
repr
in interface com.google.devtools.build.lib.skylarkinterface.SkylarkPrintable