コード例 #1
0
ファイル: formalizer.go プロジェクト: pkdevboxy/query
/*
Set scope to parent's scope.
*/
func (this *Formalizer) PopBindings(sv *value.ScopeValue) {
	parent := sv.Parent()
	if parent == nil {
		this.allowed = nil
	}

	this.allowed = sv.Parent().(*value.ScopeValue)
}
コード例 #2
0
ファイル: formalizer.go プロジェクト: mschoch/query
/*
Set scope as parents scope.
*/
func (this *Formalizer) PopBindings(sv *value.ScopeValue) {
	this.Allowed = sv.Parent()
}